Unverified Commit 7ca4f60a authored by David Murdoch's avatar David Murdoch Committed by GitHub

docs: update outdated DeriveSha docs comment (#26968)

parent 56c1f98f
...@@ -83,7 +83,7 @@ func encodeForDerive(list DerivableList, i int, buf *bytes.Buffer) []byte { ...@@ -83,7 +83,7 @@ func encodeForDerive(list DerivableList, i int, buf *bytes.Buffer) []byte {
return common.CopyBytes(buf.Bytes()) 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 { func DeriveSha(list DerivableList, hasher TrieHasher) common.Hash {
hasher.Reset() hasher.Reset()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment