mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 14:46:42 +00:00
eth/protocols/eth: happy lint, happy life
This commit is contained in:
parent
f213897a41
commit
1cf340ddbd
1 changed files with 1 additions and 1 deletions
|
|
@ -395,7 +395,7 @@ func handleReceipts68(backend Backend, msg Decoder, peer *Peer) error {
|
||||||
hasher := trie.NewStackTrie(nil)
|
hasher := trie.NewStackTrie(nil)
|
||||||
hashes := make([]common.Hash, len(res.ReceiptsResponse))
|
hashes := make([]common.Hash, len(res.ReceiptsResponse))
|
||||||
for i, receipt := range res.ReceiptsResponse {
|
for i, receipt := range res.ReceiptsResponse {
|
||||||
hashes[i] = types.DeriveSha(types.Receipts(receipt), hasher)
|
hashes[i] = types.DeriveSha(receipt, hasher)
|
||||||
}
|
}
|
||||||
return hashes
|
return hashes
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue