mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-01 13:52:54 +00:00
core: set the state for the managed tx state
Set the state for the managed tx state instead of creating a new managed state.
This commit is contained in:
parent
1506e00a23
commit
7edbb0110f
1 changed files with 1 additions and 1 deletions
|
|
@ -576,7 +576,7 @@ func (self *ChainManager) InsertChain(chain types.Blocks) error {
|
||||||
})
|
})
|
||||||
|
|
||||||
self.setTransState(state.New(block.Root(), self.stateDb))
|
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}
|
queue[i] = ChainEvent{block, logs}
|
||||||
queueEvent.canonicalCount++
|
queueEvent.canonicalCount++
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue