Skip to content

Commit

Permalink
disable delete addrQueue if empty as a workaround (0xPolygonHermez#3295
Browse files Browse the repository at this point in the history
  • Loading branch information
agnusmor authored Feb 20, 2024
1 parent 070daf8 commit a768729
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sequencer/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -361,9 +361,9 @@ func (w *Worker) ExpireTransactions(maxTime time.Duration) []*TxTracker {
w.txSortedList.delete(prevReadyTx)
}

if addrQueue.IsEmpty() {
/*if addrQueue.IsEmpty() {
delete(w.pool, addrQueue.fromStr)
}
}*/
}
log.Debugf("expire transactions ended, addrQueue length: %d, delete count: %d ", len(w.pool), len(txs))

Expand Down

0 comments on commit a768729

Please sign in to comment.