mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 13:16:42 +00:00
clean
This commit is contained in:
parent
af46f3f544
commit
4b926f6645
1 changed files with 1 additions and 2 deletions
|
|
@ -2347,8 +2347,7 @@ func (bc *BlockChain) recoverAncestors(block *types.Block, makeWitness bool) (co
|
||||||
// collectLogs collects the logs that were generated or removed during the
|
// collectLogs collects the logs that were generated or removed during the
|
||||||
// processing of a block. These logs are later announced as deleted or reborn.
|
// processing of a block. These logs are later announced as deleted or reborn.
|
||||||
func (bc *BlockChain) collectLogs(b *types.Block, removed bool) []*types.Log {
|
func (bc *BlockChain) collectLogs(b *types.Block, removed bool) []*types.Log {
|
||||||
receipts, logs := bc.collectLogsAndReceipts(b, removed)
|
_, logs := bc.collectLogsAndReceipts(b, removed)
|
||||||
_ = receipts // receipts are not used here, but retrieved for efficiency in other callers
|
|
||||||
return logs
|
return logs
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue