trie: fix TestReplication error message to show actual value

This commit is contained in:
VolodymyrBg 2025-09-29 08:40:51 +03:00 committed by GitHub
parent 943a30d1ee
commit 06c2098d6a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -326,7 +326,7 @@ func TestReplication(t *testing.T) {
updateString(trie2, val.k, val.v) updateString(trie2, val.k, val.v)
} }
if trie2.Hash() != hash { if trie2.Hash() != hash {
t.Errorf("root failure. expected %x got %x", hash, hash) t.Errorf("root failure. expected %x got %x", hash, trie2.Hash())
} }
} }