diff options
author | obscuren <geffobscura@gmail.com> | 2015-02-15 23:16:27 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-02-15 23:16:27 +0800 |
commit | 2c3a014f03390628d329167109f90a30e3c4e4c3 (patch) | |
tree | 86455bc3af1cb3aca9e6c940b03b534840f23de9 /core/chain_manager.go | |
parent | c924a841c7a6661b3a609c16c447231f5ae951c8 (diff) | |
download | go-tangerine-2c3a014f03390628d329167109f90a30e3c4e4c3.tar go-tangerine-2c3a014f03390628d329167109f90a30e3c4e4c3.tar.gz go-tangerine-2c3a014f03390628d329167109f90a30e3c4e4c3.tar.bz2 go-tangerine-2c3a014f03390628d329167109f90a30e3c4e4c3.tar.lz go-tangerine-2c3a014f03390628d329167109f90a30e3c4e4c3.tar.xz go-tangerine-2c3a014f03390628d329167109f90a30e3c4e4c3.tar.zst go-tangerine-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/chain_manager.go')
-rw-r--r-- | core/chain_manager.go | 2 |
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}) } |