aboutsummaryrefslogtreecommitdiffstats
path: root/tests/block_test_util.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-07-04 18:42:13 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-07-04 18:42:13 +0800
commit9c3db1be1dd24c366a58a7ced22adfa0b0839efe (patch)
tree0c102cd7f590a80bc291b82274e7ca16335a250f /tests/block_test_util.go
parent9bb575be7db85f967771018a915fbc4e80345ee2 (diff)
parent47460b3b4af51e08518c781680897cf2986415cc (diff)
downloaddexon-9c3db1be1dd24c366a58a7ced22adfa0b0839efe.tar
dexon-9c3db1be1dd24c366a58a7ced22adfa0b0839efe.tar.gz
dexon-9c3db1be1dd24c366a58a7ced22adfa0b0839efe.tar.bz2
dexon-9c3db1be1dd24c366a58a7ced22adfa0b0839efe.tar.lz
dexon-9c3db1be1dd24c366a58a7ced22adfa0b0839efe.tar.xz
dexon-9c3db1be1dd24c366a58a7ced22adfa0b0839efe.tar.zst
dexon-9c3db1be1dd24c366a58a7ced22adfa0b0839efe.zip
Merge pull request #1369 from obscuren/statedb-update-cleanup
core, core/state: throw out intermediate state
Diffstat (limited to 'tests/block_test_util.go')
-rw-r--r--tests/block_test_util.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/block_test_util.go b/tests/block_test_util.go
index 67f6a1d18..3b20da492 100644
--- a/tests/block_test_util.go
+++ b/tests/block_test_util.go
@@ -215,7 +215,7 @@ func (t *BlockTest) InsertPreState(ethereum *eth.Ethereum) (*state.StateDB, erro
}
}
// sync objects to trie
- statedb.Update()
+ statedb.SyncObjects()
// sync trie to disk
statedb.Sync()