From 0677ab40a22d955ec7209a6d95e15c10ee338e16 Mon Sep 17 00:00:00 2001 From: Daniel Liu <139250065@qq.com> Date: Mon, 3 Nov 2025 18:46:10 +0800 Subject: [PATCH] miner: fix pop wrong tx from normal txs queue, close XFN-37 (#1623) --- miner/worker.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/miner/worker.go b/miner/worker.go index d9a4284c85..e18d5bfa7a 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -970,7 +970,6 @@ func (w *Work) commitTransactions(mux *event.TypeMux, balanceFee map[common.Addr copyState, _ := bc.State() if err := core.ValidateXDCZApplyTransaction(bc, nil, copyState, common.BytesToAddress(data[4:])); err != nil { log.Debug("XDCZApply: invalid token", "token", common.BytesToAddress(data[4:]).Hex()) - txs.Pop() continue } } @@ -979,7 +978,6 @@ func (w *Work) commitTransactions(mux *event.TypeMux, balanceFee map[common.Addr copyState, _ := bc.State() if err := core.ValidateXDCXApplyTransaction(bc, nil, copyState, common.BytesToAddress(data[4:])); err != nil { log.Debug("XDCXApply: invalid token", "token", common.BytesToAddress(data[4:]).Hex()) - txs.Pop() continue } }