trie: fix test

This commit is contained in:
Martin Holst Swende 2023-10-13 11:02:28 +02:00
parent 11703d9273
commit 161c2f6636
No known key found for this signature in database
GPG key ID: 683B438C05A5DDF0

View file

@ -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()