Reset the transient state when a new block's been found
This commit is contained in:
parent
adabd71a4a
commit
250d40bca0
@ -237,6 +237,8 @@ func (sm *StateManager) Process(block *Block, dontReact bool) (err error) {
|
||||
// Add the block to the chain
|
||||
sm.bc.Add(block)
|
||||
|
||||
sm.transState = state.Copy()
|
||||
|
||||
// Create a bloom bin for this block
|
||||
filter := sm.createBloomFilter(state)
|
||||
// Persist the data
|
||||
|
Loading…
Reference in New Issue
Block a user