update TrieHasher

This commit is contained in:
Roy Crihfield 2023-06-05 19:24:41 +08:00
parent a6ae549ce2
commit 47ca0cc89f

View File

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