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 mmsqe committed Dec 7, 2023
1 parent 4154e1f commit a1ff77d
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 a1ff77d

Please sign in to comment.