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 }