Reset the transient state when a new block's been found
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user