aboutsummaryrefslogtreecommitdiffstats
path: root/trie/iterator_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'trie/iterator_test.go')
-rw-r--r--trie/iterator_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/trie/iterator_test.go b/trie/iterator_test.go
index 74d9e903c..5f95caa68 100644
--- a/trie/iterator_test.go
+++ b/trie/iterator_test.go
@@ -22,7 +22,7 @@ func TestIterator(t *testing.T) {
it := trie.Iterator()
for it.Next() {
- v[string(it.Key)] = true
+ v[it.Key.Str()] = true
}
for k, found := range v {