mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 14:46:42 +00:00
eth/protocols/eth: lint
This commit is contained in:
parent
5e94e51e95
commit
156ad98469
1 changed files with 1 additions and 3 deletions
|
|
@ -455,9 +455,7 @@ func handleReceipts69(backend Backend, msg Decoder, peer *Peer) error {
|
|||
hashes := make([]common.Hash, len(response))
|
||||
for i, receipts := range response {
|
||||
var r []*types.Receipt
|
||||
for _, receipt := range receipts {
|
||||
r = append(r, receipt)
|
||||
}
|
||||
r = append(r, receipts...)
|
||||
hashes[i] = types.DeriveSha(types.Receipts(r), hasher)
|
||||
}
|
||||
return hashes
|
||||
|
|
|
|||
Loading…
Reference in a new issue