docs: update outdated DeriveSha docs comment (#26968)

This commit is contained in:
David Murdoch
2023-03-28 08:59:37 -04:00
committed by GitHub
parent 56c1f98f8a
commit 7ca4f60a1a
+1 -1
View File
@@ -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()