From 7edbb0110f6ab04541ed2fef1e373d61d0dc063d Mon Sep 17 00:00:00 2001 From: obscuren Date: Wed, 22 Apr 2015 12:25:24 +0200 Subject: [PATCH] core: set the state for the managed tx state Set the state for the managed tx state instead of creating a new managed state. --- core/chain_manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/chain_manager.go b/core/chain_manager.go index 1df56b27f..47f84b80a 100644 --- a/core/chain_manager.go +++ b/core/chain_manager.go @@ -576,7 +576,7 @@ func (self *ChainManager) InsertChain(chain types.Blocks) error { }) self.setTransState(state.New(block.Root(), self.stateDb)) - self.setTxState(state.New(block.Root(), self.stateDb)) + self.txState.SetState(state.New(block.Root(), self.stateDb)) queue[i] = ChainEvent{block, logs} queueEvent.canonicalCount++