Reset the transient state when a new block's been found

poc8
obscuren 10 years ago
parent adabd71a4a
commit 250d40bca0
  1. 2
      ethchain/state_manager.go

@ -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…
Cancel
Save