From 02c6ee9672c1b47ac534ec7224f45d9ab0652cdf Mon Sep 17 00:00:00 2001 From: David Date: Wed, 8 May 2024 16:49:38 +0800 Subject: [PATCH] fix(wokrer): fix an issue in `sealBlockWith` (#240) --- miner/taiko_worker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miner/taiko_worker.go b/miner/taiko_worker.go index 393f1c1d90b2..0bb0f29cc02f 100644 --- a/miner/taiko_worker.go +++ b/miner/taiko_worker.go @@ -177,7 +177,7 @@ func (w *worker) sealBlockWith( return nil, err } } - sender, err := types.LatestSignerForChainID(tx.ChainId()).Sender(tx) + sender, err := types.LatestSignerForChainID(w.chainConfig.ChainID).Sender(tx) if err != nil { log.Debug("Skip an invalid proposed transaction", "hash", tx.Hash(), "reason", err) continue