aboutsummaryrefslogtreecommitdiffstats
path: root/ethminer
diff options
context:
space:
mode:
authorMaran <maran.hidskes@gmail.com>2014-06-17 17:40:37 +0800
committerMaran <maran.hidskes@gmail.com>2014-06-17 17:40:37 +0800
commita90ffe1af1b28935fc77a2c5cf37972bac03f062 (patch)
tree1cd743d3d2719df7c9a8bf76922f9e5676d6fc30 /ethminer
parent01e6f63e98636e7200b626185b85dfa254ce2834 (diff)
parent3621988e15c025d2bd7b80e4691a6b236574f0a1 (diff)
downloaddexon-a90ffe1af1b28935fc77a2c5cf37972bac03f062.tar
dexon-a90ffe1af1b28935fc77a2c5cf37972bac03f062.tar.gz
dexon-a90ffe1af1b28935fc77a2c5cf37972bac03f062.tar.bz2
dexon-a90ffe1af1b28935fc77a2c5cf37972bac03f062.tar.lz
dexon-a90ffe1af1b28935fc77a2c5cf37972bac03f062.tar.xz
dexon-a90ffe1af1b28935fc77a2c5cf37972bac03f062.tar.zst
dexon-a90ffe1af1b28935fc77a2c5cf37972bac03f062.zip
Merge branch 'develop' of github.com:ethereum/eth-go into develop
Diffstat (limited to 'ethminer')
-rw-r--r--ethminer/miner.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/ethminer/miner.go b/ethminer/miner.go
index 1ef9ca229..4343b4333 100644
--- a/ethminer/miner.go
+++ b/ethminer/miner.go
@@ -154,6 +154,8 @@ func (self *Miner) mineNewBlock() {
// Accumulate the rewards included for this block
stateManager.AccumelateRewards(self.block.State(), self.block)
+ self.block.State().Update()
+
ethutil.Config.Log.Infoln("[MINER] Mining on block. Includes", len(self.txs), "transactions")
// Find a valid nonce