From 250d40bca01ae92ef5db6258b519e5903929f764 Mon Sep 17 00:00:00 2001 From: obscuren Date: Mon, 8 Sep 2014 00:48:39 +0200 Subject: [PATCH] Reset the transient state when a new block's been found --- ethchain/state_manager.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ethchain/state_manager.go b/ethchain/state_manager.go index 08bd22d29..33af259cf 100644 --- a/ethchain/state_manager.go +++ b/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