diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2016-05-31 05:07:51 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2016-05-31 05:07:51 +0800 |
commit | 5c39a1bb26813d05244a5408b20fb0b38c10c8b2 (patch) | |
tree | af9ebf86f6f863f9b23c502cb1699c604938fcd6 /trie/trie_test.go | |
parent | ab664c7e17009729d1083d8d4f7c37eb387012d3 (diff) | |
parent | 748d1c171d74fbf6b6051fd629d3c2204dd930e3 (diff) | |
download | dexon-5c39a1bb26813d05244a5408b20fb0b38c10c8b2.tar dexon-5c39a1bb26813d05244a5408b20fb0b38c10c8b2.tar.gz dexon-5c39a1bb26813d05244a5408b20fb0b38c10c8b2.tar.bz2 dexon-5c39a1bb26813d05244a5408b20fb0b38c10c8b2.tar.lz dexon-5c39a1bb26813d05244a5408b20fb0b38c10c8b2.tar.xz dexon-5c39a1bb26813d05244a5408b20fb0b38c10c8b2.tar.zst dexon-5c39a1bb26813d05244a5408b20fb0b38c10c8b2.zip |
Merge pull request #2585 from karalabe/trie-dirty-tracking
core, core/state, trie: enterprise hand-tuned multi-level caching
Diffstat (limited to 'trie/trie_test.go')
-rw-r--r-- | trie/trie_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trie/trie_test.go b/trie/trie_test.go index bb761b555..121ba24c1 100644 --- a/trie/trie_test.go +++ b/trie/trie_test.go @@ -295,7 +295,7 @@ func TestReplication(t *testing.T) { for _, val := range vals2 { updateString(trie2, val.k, val.v) } - if trie2.Hash() != exp { + if hash := trie2.Hash(); hash != exp { t.Errorf("root failure. expected %x got %x", exp, hash) } } |