Skip to content

Commit

Permalink
docs: update outdated DeriveSha docs comment (ethereum#26968)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmurdoch authored and shekhirin committed Jun 6, 2023
1 parent 0c4e7ae commit b7928ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/types/hashing.go
Original file line number Diff line number Diff line change
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 b7928ad

Please sign in to comment.