mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-23 12:07:17 +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
@ -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++
|
||||
|
Loading…
Reference in New Issue
Block a user