Skip to content

Commit 7ca4f60

Browse files
authored
docs: update outdated DeriveSha docs comment (#26968)
1 parent 56c1f98 commit 7ca4f60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/types/hashing.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ func encodeForDerive(list DerivableList, i int, buf *bytes.Buffer) []byte {
8383
return common.CopyBytes(buf.Bytes())
8484
}
8585

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

0 commit comments

Comments
 (0)