update TrieHasher

This commit is contained in:
2023-07-07 00:06:59 +08:00
parent 0deaa33408
commit 5c57181c36
+1 -1
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)
Update([]byte, []byte) error
Hash() core.Hash
}