aboutsummaryrefslogtreecommitdiffstats
path: root/trie/trie_test.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2015-07-01 21:38:32 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-07-04 08:51:36 +0800
commit0a1ff68c11706f60355b392cb16a681630260ac3 (patch)
treefa7e46110a346cc1a10e3a3135815942c4560859 /trie/trie_test.go
parentab16ce70fc68d9ab1b7d8cda57c180b4785cab6a (diff)
downloadgo-tangerine-0a1ff68c11706f60355b392cb16a681630260ac3.tar
go-tangerine-0a1ff68c11706f60355b392cb16a681630260ac3.tar.gz
go-tangerine-0a1ff68c11706f60355b392cb16a681630260ac3.tar.bz2
go-tangerine-0a1ff68c11706f60355b392cb16a681630260ac3.tar.lz
go-tangerine-0a1ff68c11706f60355b392cb16a681630260ac3.tar.xz
go-tangerine-0a1ff68c11706f60355b392cb16a681630260ac3.tar.zst
go-tangerine-0a1ff68c11706f60355b392cb16a681630260ac3.zip
trie: dirty tracking
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 9a58958d8..60f0873a8 100644
--- a/trie/trie_test.go
+++ b/trie/trie_test.go
@@ -152,7 +152,7 @@ func TestReplication(t *testing.T) {
}
trie.Commit()
- trie2 := New(trie.roothash, trie.cache.backend)
+ trie2 := New(trie.Root(), trie.cache.backend)
if string(trie2.GetString("horse")) != "stallion" {
t.Error("expected to have horse => stallion")
}