eth/protocols/eth: happy lint, happy life

This commit is contained in:
Marius van der Wijden 2025-03-15 10:12:01 +01:00 committed by Felix Lange
parent f213897a41
commit 1cf340ddbd

View file

@ -395,7 +395,7 @@ func handleReceipts68(backend Backend, msg Decoder, peer *Peer) error {
hasher := trie.NewStackTrie(nil)
hashes := make([]common.Hash, len(res.ReceiptsResponse))
for i, receipt := range res.ReceiptsResponse {
hashes[i] = types.DeriveSha(types.Receipts(receipt), hasher)
hashes[i] = types.DeriveSha(receipt, hasher)
}
return hashes
}