forked from cerc-io/plugeth
docs: update outdated DeriveSha docs comment (#26968)
This commit is contained in:
parent
56c1f98f8a
commit
7ca4f60a1a
@ -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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user