diff options
author | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-07-01 05:49:34 +0800 |
---|---|---|
committer | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-07-04 08:51:36 +0800 |
commit | 08caeedd842526373d30a929e63101a5fe7fda55 (patch) | |
tree | d5aeeaa092108c34f3daec916972a7b7cae683ca /core/block_processor.go | |
parent | 6f69b4d61f1278ea2d9351667512a1202403eaff (diff) | |
download | go-tangerine-08caeedd842526373d30a929e63101a5fe7fda55.tar go-tangerine-08caeedd842526373d30a929e63101a5fe7fda55.tar.gz go-tangerine-08caeedd842526373d30a929e63101a5fe7fda55.tar.bz2 go-tangerine-08caeedd842526373d30a929e63101a5fe7fda55.tar.lz go-tangerine-08caeedd842526373d30a929e63101a5fe7fda55.tar.xz go-tangerine-08caeedd842526373d30a929e63101a5fe7fda55.tar.zst go-tangerine-08caeedd842526373d30a929e63101a5fe7fda55.zip |
core, core/state: only write necessary state. Skip intermediate
Diffstat (limited to 'core/block_processor.go')
-rw-r--r-- | core/block_processor.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/block_processor.go b/core/block_processor.go index e8014ec22..5f745e491 100644 --- a/core/block_processor.go +++ b/core/block_processor.go @@ -243,7 +243,7 @@ func (sm *BlockProcessor) processWithParent(block, parent *types.Block) (logs st // Commit state objects/accounts to a temporary trie (does not save) // used to calculate the state root. - state.Update() + state.CleanUpdate() if header.Root != state.Root() { err = fmt.Errorf("invalid merkle root. received=%x got=%x", header.Root, state.Root()) return |