From 748d1c171d74fbf6b6051fd629d3c2204dd930e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Thu, 19 May 2016 13:24:14 +0300 Subject: core, core/state, trie: enterprise hand-tuned multi-level caching --- trie/trie_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trie/trie_test.go') 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) } } -- cgit v1.2.3