mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
trie: fix test
This commit is contained in:
parent
11703d9273
commit
161c2f6636
1 changed files with 1 additions and 2 deletions
|
|
@ -561,7 +561,6 @@ func TestSameSideProofs(t *testing.T) {
|
|||
|
||||
pos := 1000
|
||||
first := common.CopyBytes(entries[0].k)
|
||||
last := decreaseKey(common.CopyBytes(entries[pos].k))
|
||||
|
||||
proof := memorydb.New()
|
||||
if err := trie.Prove(first, proof); err != nil {
|
||||
|
|
@ -576,7 +575,7 @@ func TestSameSideProofs(t *testing.T) {
|
|||
}
|
||||
|
||||
first = increaseKey(common.CopyBytes(entries[pos].k))
|
||||
last = increaseKey(common.CopyBytes(entries[pos].k))
|
||||
last := increaseKey(common.CopyBytes(entries[pos].k))
|
||||
last = increaseKey(last)
|
||||
|
||||
proof = memorydb.New()
|
||||
|
|
|
|||
Loading…
Reference in a new issue