From fb1edd05f40bad04f2514d1463b5593dc51e9f77 Mon Sep 17 00:00:00 2001
From: obscuren <geffobscura@gmail.com>
Date: Wed, 24 Dec 2014 11:20:43 +0100
Subject: [PATCH] Removed the deferred reset

---
 core/block_manager.go | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/core/block_manager.go b/core/block_manager.go
index 1b9da1269..8a5455306 100644
--- a/core/block_manager.go
+++ b/core/block_manager.go
@@ -185,12 +185,6 @@ func (sm *BlockManager) ProcessWithParent(block, parent *types.Block) (td *big.I
 
 	state := state.New(parent.Trie().Copy())
 
-	// Defer the Undo on the Trie. If the block processing happened
-	// we don't want to undo but since undo only happens on dirty
-	// nodes this won't happen because Commit would have been called
-	// before that.
-	defer state.Reset()
-
 	// Block validation
 	if err = sm.ValidateBlock(block, parent); err != nil {
 		return
-- 
GitLab