aboutsummaryrefslogtreecommitdiffstats
path: root/core/chain_manager.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-14 00:47:11 +0800
committerobscuren <geffobscura@gmail.com>2015-03-14 00:47:11 +0800
commit03403399fcd4abf106a098f15bc7186197bd09bc (patch)
treeb5ebbf0330c6cc2d6aff3100511c4843c2d8593a /core/chain_manager.go
parenta0266489b4592af751d87c59087ed25a32899de6 (diff)
downloadgo-tangerine-03403399fcd4abf106a098f15bc7186197bd09bc.tar.gz
go-tangerine-03403399fcd4abf106a098f15bc7186197bd09bc.tar.zst
go-tangerine-03403399fcd4abf106a098f15bc7186197bd09bc.zip
Return proper error
Diffstat (limited to 'core/chain_manager.go')
-rw-r--r--core/chain_manager.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/chain_manager.go b/core/chain_manager.go
index 7fed7b8b1..101d0568d 100644
--- a/core/chain_manager.go
+++ b/core/chain_manager.go
@@ -449,6 +449,8 @@ func (self *ChainManager) InsertChain(chain types.Blocks) error {
*/
self.setTransState(state.New(block.Root(), self.stateDb))
+ self.setTxState(state.New(block.Root(), self.stateDb))
+
queue[i] = ChainEvent{block}
queueEvent.canonicalCount++
} else {