From f31fa69b3f26999e5b8cb1152fd302310ff1c3da Mon Sep 17 00:00:00 2001 From: Valentin Staykov Date: Thu, 1 Aug 2024 07:44:32 +0000 Subject: [PATCH] don't throw out all transaction on single not valid --- zk/txpool/pool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zk/txpool/pool.go b/zk/txpool/pool.go index 0b9c35c066f..d9f9cd878c9 100644 --- a/zk/txpool/pool.go +++ b/zk/txpool/pool.go @@ -1664,7 +1664,7 @@ func (p *TxPool) fromDB(ctx context.Context, tx kv.Tx, coreTx kv.Tx) error { isLocalTx := p.isLocalLRU.Contains(string(k)) if reason := p.validateTx(txn, isLocalTx, cacheView, addr); reason != NotSet && reason != Success { - return nil + continue } txs.Resize(uint(i + 1)) txs.Txs[i] = txn