aboutsummaryrefslogtreecommitdiffstats
path: root/ethminer/miner.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-09-15 07:11:01 +0800
committerobscuren <geffobscura@gmail.com>2014-09-15 07:11:01 +0800
commit2f614900e82036e3e8f6f6a714efc43e09aca830 (patch)
tree6a9ad17e8f7f7f91c036d2fec2354d08a0025a6e /ethminer/miner.go
parent4db4ec1621767513ed2bd99d835c3e2f1c2b0e7e (diff)
downloadgo-tangerine-2f614900e82036e3e8f6f6a714efc43e09aca830.tar
go-tangerine-2f614900e82036e3e8f6f6a714efc43e09aca830.tar.gz
go-tangerine-2f614900e82036e3e8f6f6a714efc43e09aca830.tar.bz2
go-tangerine-2f614900e82036e3e8f6f6a714efc43e09aca830.tar.lz
go-tangerine-2f614900e82036e3e8f6f6a714efc43e09aca830.tar.xz
go-tangerine-2f614900e82036e3e8f6f6a714efc43e09aca830.tar.zst
go-tangerine-2f614900e82036e3e8f6f6a714efc43e09aca830.zip
Updated GHOST
Diffstat (limited to 'ethminer/miner.go')
-rw-r--r--ethminer/miner.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethminer/miner.go b/ethminer/miner.go
index 799db79f1..083d9ecde 100644
--- a/ethminer/miner.go
+++ b/ethminer/miner.go
@@ -187,7 +187,7 @@ func (self *Miner) mineNewBlock() {
self.block.SetReceipts(receipts, txs)
// Accumulate the rewards included for this block
- stateManager.AccumelateRewards(self.block.State(), self.block)
+ stateManager.AccumelateRewards(self.block.State(), self.block, parent)
self.block.State().Update()