From 1b9d9ee42c643736738761064e4b946acc0b3a35 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 88be7ef8c7..df385b4a24 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -971,7 +971,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 } } @@ -980,7 +979,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 } }