Updated the update method on the treiHasher object.

This commit is contained in:
philip-morlier 2023-09-07 19:04:39 -07:00
parent b5c70a3094
commit 95319e5252

View File

@ -62,7 +62,7 @@ func prefixedRlpHash(prefix byte, x interface{}) (h core.Hash) {
// This is internal, do not use.
type TrieHasher interface {
Reset()
Update([]byte, []byte) error
Update([]byte, []byte)
Hash() core.Hash
}