Skip to content

Commit 4b926f6

Browse files
committed
clean
1 parent af46f3f commit 4b926f6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

core/blockchain.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2347,8 +2347,7 @@ func (bc *BlockChain) recoverAncestors(block *types.Block, makeWitness bool) (co
23472347
// collectLogs collects the logs that were generated or removed during the
23482348
// processing of a block. These logs are later announced as deleted or reborn.
23492349
func (bc *BlockChain) collectLogs(b *types.Block, removed bool) []*types.Log {
2350-
receipts, logs := bc.collectLogsAndReceipts(b, removed)
2351-
_ = receipts // receipts are not used here, but retrieved for efficiency in other callers
2350+
_, logs := bc.collectLogsAndReceipts(b, removed)
23522351
return logs
23532352
}
23542353

0 commit comments

Comments
 (0)