aboutsummaryrefslogtreecommitdiffstats
path: root/chain/chain_manager.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-11-12 05:51:26 +0800
committerobscuren <geffobscura@gmail.com>2014-11-12 05:52:27 +0800
commit6c9e503eb8d41d331d6a74e69539a06590072190 (patch)
treeb9fd4b7abf20d9a901cd4e0f2dc3d70475cdc527 /chain/chain_manager.go
parent75ee3b3f089e703b728bb301cc6b2abe4c111c41 (diff)
downloadgo-tangerine-6c9e503eb8d41d331d6a74e69539a06590072190.tar.gz
go-tangerine-6c9e503eb8d41d331d6a74e69539a06590072190.tar.zst
go-tangerine-6c9e503eb8d41d331d6a74e69539a06590072190.zip
Removed all implicit logging. Fixed gas issues and jump errors
Diffstat (limited to 'chain/chain_manager.go')
-rw-r--r--chain/chain_manager.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/chain/chain_manager.go b/chain/chain_manager.go
index 217a50103..077db649f 100644
--- a/chain/chain_manager.go
+++ b/chain/chain_manager.go
@@ -328,8 +328,8 @@ func (self *ChainManager) InsertChain(chain *BlockChain) {
for e := chain.Front(); e != nil; e = e.Next() {
link := e.Value.(*link)
- self.SetTotalDifficulty(link.td)
self.add(link.block)
+ self.SetTotalDifficulty(link.td)
self.Ethereum.EventMux().Post(NewBlockEvent{link.block})
self.Ethereum.EventMux().Post(link.messages)
}