From 91e6121c01ba9595caa6eba6d8fb93e1b5e5bad6 Mon Sep 17 00:00:00 2001 From: buddh0 Date: Wed, 27 Nov 2024 15:46:21 +0800 Subject: [PATCH] fix: fix after rebase develop --- miner/worker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miner/worker.go b/miner/worker.go index f28af936e2..2b7f0b2594 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -668,7 +668,7 @@ func (w *worker) resultLoop() { shadowHeader := block.Header() shadowHeader.Extra[0] = 'd' shadowHeader.Extra[1] = 's' - shadowBlock := types.NewBlockWithHeader(shadowHeader).WithBody(block.Transactions(), block.Uncles()).WithWithdrawals(block.Withdrawals()) + shadowBlock := types.NewBlockWithHeader(shadowHeader).WithBody(types.Body{Transactions: block.Transactions(), Uncles: block.Uncles()}).WithWithdrawals(block.Withdrawals()) shadowBlock.DeepCopySidecars(block.Sidecars()) shadowBlock, err := p.AssembleSignature(shadowBlock) if err == nil {