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

This commit is contained in:
obscuren 2014-09-08 00:48:39 +02:00
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