From 1cf340ddbd6c5094db84e97d5a4782b3b378aa31 Mon Sep 17 00:00:00 2001 From: Marius van der Wijden Date: Sat, 15 Mar 2025 10:12:01 +0100 Subject: [PATCH] eth/protocols/eth: happy lint, happy life --- eth/protocols/eth/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/protocols/eth/handlers.go b/eth/protocols/eth/handlers.go index fce3ad3ba4..ac2d2e0635 100644 --- a/eth/protocols/eth/handlers.go +++ b/eth/protocols/eth/handlers.go @@ -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 }