From 2b0c071db7bacf620531371a257c5e5e1d33ec51 Mon Sep 17 00:00:00 2001 From: Lucca Martins Date: Thu, 20 Feb 2025 11:05:37 -0300 Subject: [PATCH] lint fix --- miner/worker.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/miner/worker.go b/miner/worker.go index cccf430e3b..0e166b9dfd 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -1403,10 +1403,6 @@ func (w *worker) generateWork(params *generateParams, witness bool) *newPayloadR } body := types.Body{Transactions: work.txs, Withdrawals: params.withdrawals} - allLogs := make([]*types.Log, 0) - for _, r := range work.receipts { - allLogs = append(allLogs, r.Logs...) - } block, err := w.engine.FinalizeAndAssemble(w.chain, work.header, work.state, &body, work.receipts) if err != nil {