aboutsummaryrefslogtreecommitdiffstats
path: root/trie/trie_test.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-06 00:46:40 +0800
committerobscuren <geffobscura@gmail.com>2015-03-06 00:46:40 +0800
commitd44fe4ec627f0aecdb891b5ae415b8c89315d131 (patch)
tree4e7795792711da0b545129b0f18ad0930886e9a5 /trie/trie_test.go
parent377c8a13de3405424f16a67c2f3ae3485290a0ca (diff)
parent72bf02bf15d01fad45bbdf586f294d939c9d7fd6 (diff)
downloaddexon-d44fe4ec627f0aecdb891b5ae415b8c89315d131.tar
dexon-d44fe4ec627f0aecdb891b5ae415b8c89315d131.tar.gz
dexon-d44fe4ec627f0aecdb891b5ae415b8c89315d131.tar.bz2
dexon-d44fe4ec627f0aecdb891b5ae415b8c89315d131.tar.lz
dexon-d44fe4ec627f0aecdb891b5ae415b8c89315d131.tar.xz
dexon-d44fe4ec627f0aecdb891b5ae415b8c89315d131.tar.zst
dexon-d44fe4ec627f0aecdb891b5ae415b8c89315d131.zip
Merge branch 'develop' into poc-9
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 92e0df8e2..b6a260483 100644
--- a/trie/trie_test.go
+++ b/trie/trie_test.go
@@ -271,7 +271,7 @@ func TestLargeData(t *testing.T) {
trie := NewEmpty()
vals := make(map[string]*kv)
- for i := byte(1); i < 255; i++ {
+ for i := byte(0); i < 255; i++ {
value := &kv{ethutil.LeftPadBytes([]byte{i}, 32), []byte{i}, false}
value2 := &kv{ethutil.LeftPadBytes([]byte{10, i}, 32), []byte{i}, false}
trie.Update(value.k, value.v)