aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-02-15 23:16:27 +0800
committerobscuren <geffobscura@gmail.com>2015-02-15 23:16:27 +0800
commit2c3a014f03390628d329167109f90a30e3c4e4c3 (patch)
tree86455bc3af1cb3aca9e6c940b03b534840f23de9 /core
parentc924a841c7a6661b3a609c16c447231f5ae951c8 (diff)
downloaddexon-2c3a014f03390628d329167109f90a30e3c4e4c3.tar.gz
dexon-2c3a014f03390628d329167109f90a30e3c4e4c3.tar.zst
dexon-2c3a014f03390628d329167109f90a30e3c4e4c3.zip
Resolved some bugs in the miner
* TODO nonce error sometimes persists * Fixed mining on wrong blocks * Fixed state error & receipt fail
Diffstat (limited to 'core')
-rw-r--r--core/chain_manager.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/chain_manager.go b/core/chain_manager.go
index 54f1ced8c..922d2a8d8 100644
--- a/core/chain_manager.go
+++ b/core/chain_manager.go
@@ -392,7 +392,7 @@ func (self *ChainManager) InsertChain(chain types.Blocks) error {
self.setTotalDifficulty(td)
self.insert(block)
- self.transState = state.New(cblock.Root(), self.db) //state.New(cblock.Trie().Copy())
+ self.transState = state.New(cblock.Root(), self.db)
self.eventMux.Post(ChainEvent{block, td})
}