This commit is contained in:
Sina Mahmoodi 2025-09-29 20:56:47 +02:00
parent af46f3f544
commit 4b926f6645

View file

@ -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
} }