diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-09-28 18:40:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-28 18:40:44 +0800 |
commit | f88bca7ba96a16e10b9feee453dbdb4f81962f34 (patch) | |
tree | 15f58419e13f75dc0dfa940be0b1a9f3930de34f /trie/sync_test.go | |
parent | 7a5843de318f4bf0e41ddaab2d690fbe6fd04099 (diff) | |
parent | d4608ae0d2fc76ea1ba1d3a97033e60bab1f0d59 (diff) | |
download | go-tangerine-1.4.14.tar go-tangerine-1.4.14.tar.gz go-tangerine-1.4.14.tar.bz2 go-tangerine-1.4.14.tar.lz go-tangerine-1.4.14.tar.xz go-tangerine-1.4.14.tar.zst go-tangerine-1.4.14.zip |
Merge pull request #3055 from karalabe/release/1.4v1.4.14
Geth 1.4.14: What else should we rewrite?
Diffstat (limited to 'trie/sync_test.go')
-rw-r--r-- | trie/sync_test.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/trie/sync_test.go b/trie/sync_test.go index a81f7650e..a763dc564 100644 --- a/trie/sync_test.go +++ b/trie/sync_test.go @@ -51,9 +51,6 @@ func makeTestTrie() (ethdb.Database, *Trie, map[string][]byte) { } trie.Commit() - // Remove any potentially cached data from the test trie creation - globalCache.Clear() - // Return the generated trie return db, trie, content } @@ -61,9 +58,6 @@ func makeTestTrie() (ethdb.Database, *Trie, map[string][]byte) { // checkTrieContents cross references a reconstructed trie with an expected data // content map. func checkTrieContents(t *testing.T, db Database, root []byte, content map[string][]byte) { - // Remove any potentially cached data from the trie synchronisation - globalCache.Clear() - // Check root availability and trie contents trie, err := New(common.BytesToHash(root), db) if err != nil { @@ -81,9 +75,6 @@ func checkTrieContents(t *testing.T, db Database, root []byte, content map[strin // checkTrieConsistency checks that all nodes in a trie are indeed present. func checkTrieConsistency(db Database, root common.Hash) error { - // Remove any potentially cached data from the test trie creation or previous checks - globalCache.Clear() - // Create and iterate a trie rooted in a subnode trie, err := New(root, db) if err != nil { |