Skip to content

Commit

Permalink
don't throw out all transaction on single not valid
Browse files Browse the repository at this point in the history
  • Loading branch information
V-Staykov authored and mandrigin committed Aug 1, 2024
1 parent 72ea7d0 commit f31fa69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zk/txpool/pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f31fa69

Please sign in to comment.