Skip to content

Commit ffef4d5

Browse files
fab-10macfarla
andauthored
Fix for zombie invalid and penalized txs (#7659)
Signed-off-by: Fabio Di Fabio <[email protected]> Co-authored-by: Sally MacFarlane <[email protected]>
1 parent 23ad2b5 commit ffef4d5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/transactions/layered/LayeredPendingTransactions.java

+1-3
Original file line numberDiff line numberDiff line change
@@ -351,9 +351,7 @@ public void selectTransactions(final PendingTransactions.TransactionSelector sel
351351
}
352352
});
353353
logDiscardedTransaction(candidatePendingTx, selectionResult);
354-
}
355-
356-
if (selectionResult.penalize()) {
354+
} else if (selectionResult.penalize()) {
357355
ethScheduler.scheduleTxWorkerTask(
358356
() -> {
359357
synchronized (this) {

0 commit comments

Comments
 (0)