mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-21 20:26:41 +00:00
Update trie_test.go
This commit is contained in:
parent
127d1f42bb
commit
4d64bbe82d
1 changed files with 4 additions and 2 deletions
|
|
@ -1356,8 +1356,10 @@ func testTrieCopy(t *testing.T, entries []kv) {
|
|||
}
|
||||
trCpy := tr.Copy()
|
||||
|
||||
if tr.Hash() != trCpy.Hash() {
|
||||
t.Errorf("Hash mismatch: old %v, copy %v", tr.Hash(), trCpy.Hash())
|
||||
trHash := tr.Hash()
|
||||
copyHash := trCpy.Hash()
|
||||
if trHash != copyHash {
|
||||
t.Errorf("Hash mismatch: old %v, copy %v", trHash, copyHash)
|
||||
}
|
||||
|
||||
// Check iterator
|
||||
|
|
|
|||
Loading…
Reference in a new issue