Skip to content

Commit

Permalink
docs: update outdated DeriveSha docs comment (#26968)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmurdoch committed Mar 28, 2023
1 parent 56c1f98 commit 7ca4f60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/types/hashing.go
Expand Up @@ -83,7 +83,7 @@ func encodeForDerive(list DerivableList, i int, buf *bytes.Buffer) []byte {
return common.CopyBytes(buf.Bytes())
}

// DeriveSha creates the tree hashes of transactions and receipts in a block header.
// DeriveSha creates the tree hashes of transactions, receipts, and withdrawals in a block header.
func DeriveSha(list DerivableList, hasher TrieHasher) common.Hash {
hasher.Reset()

Expand Down

0 comments on commit 7ca4f60

Please sign in to comment.