minor fixes

This commit is contained in:
Martin Holst Swende 2023-11-07 14:11:30 +01:00
parent 6dc50e2dfd
commit 94140c7cb7
No known key found for this signature in database
GPG key ID: 683B438C05A5DDF0
2 changed files with 2 additions and 2 deletions

View file

@ -17,9 +17,9 @@
package memorydb
import (
"encoding/binary"
"testing"
"encoding/binary"
"github.com/ethereum/go-ethereum/ethdb"
"github.com/ethereum/go-ethereum/ethdb/dbtest"
)

View file

@ -571,7 +571,7 @@ func testIncompleteSync(t *testing.T, scheme string) {
hash := crypto.Keccak256Hash(result.Data)
if hash != root {
addedKeys = append(addedKeys, result.Path)
addedHashes = append(addedHashes, crypto.Keccak256Hash(result.Data))
addedHashes = append(addedHashes, hash)
}
}
// Fetch the next batch to retrieve