Skip to content

Commit

Permalink
Fix for zombie invalid and penalized txs
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio Di Fabio <[email protected]>
  • Loading branch information
fab-10 committed Sep 20, 2024
1 parent 3e0e5cd commit d2a356e
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -351,9 +351,7 @@ public void selectTransactions(final PendingTransactions.TransactionSelector sel
}
});
logDiscardedTransaction(candidatePendingTx, selectionResult);
}

if (selectionResult.penalize()) {
} else if (selectionResult.penalize()) {
ethScheduler.scheduleTxWorkerTask(
() -> {
synchronized (this) {
Expand Down

0 comments on commit d2a356e

Please sign in to comment.