diff options
author | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-07-01 21:38:32 +0800 |
---|---|---|
committer | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-07-04 08:51:36 +0800 |
commit | 0a1ff68c11706f60355b392cb16a681630260ac3 (patch) | |
tree | fa7e46110a346cc1a10e3a3135815942c4560859 /trie/trie_test.go | |
parent | ab16ce70fc68d9ab1b7d8cda57c180b4785cab6a (diff) | |
download | go-tangerine-0a1ff68c11706f60355b392cb16a681630260ac3.tar.gz 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.go | 2 |
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") } |