From af69f7419e8c2473d3df5dd2fd99e6d0c95e7ff8 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 8adc67d727..b13ba9f60a 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 {