aboutsummaryrefslogtreecommitdiffstats
path: root/trie/trie_test.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-05-19 18:24:14 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-05-26 21:33:09 +0800
commit748d1c171d74fbf6b6051fd629d3c2204dd930e3 (patch)
treef3bc5352efadae61cb39afd33ceeaba7b824609c /trie/trie_test.go
parenta7434fd0085f55235acea5348db0c9247e9aac10 (diff)
downloaddexon-748d1c171d74fbf6b6051fd629d3c2204dd930e3.tar
dexon-748d1c171d74fbf6b6051fd629d3c2204dd930e3.tar.gz
dexon-748d1c171d74fbf6b6051fd629d3c2204dd930e3.tar.bz2
dexon-748d1c171d74fbf6b6051fd629d3c2204dd930e3.tar.lz
dexon-748d1c171d74fbf6b6051fd629d3c2204dd930e3.tar.xz
dexon-748d1c171d74fbf6b6051fd629d3c2204dd930e3.tar.zst
dexon-748d1c171d74fbf6b6051fd629d3c2204dd930e3.zip
core, core/state, trie: enterprise hand-tuned multi-level caching
Diffstat (limited to 'trie/trie_test.go')
-rw-r--r--trie/trie_test.go2
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)
}
}