mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
lint fix
This commit is contained in:
parent
ccede75223
commit
2b0c071db7
1 changed files with 0 additions and 4 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue