Skip to content

Commit

Permalink
Fix for zombie invalid and penalized txs (hyperledger#7659)
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio Di Fabio <[email protected]>
Co-authored-by: Sally MacFarlane <[email protected]>
  • Loading branch information
fab-10 and macfarla authored Sep 30, 2024
1 parent 23ad2b5 commit ffef4d5
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 ffef4d5

Please sign in to comment.