Skip to content

Commit

Permalink
update TrieHasher
Browse files Browse the repository at this point in the history
  • Loading branch information
roysc committed Jul 6, 2023
1 parent 0deaa33 commit 5c57181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion restricted/types/hashing.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 5c57181

Please sign in to comment.