Fix for zombie invalid and penalized txs (#7659)

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
pull/7691/head
Fabio Di Fabio 2 months ago committed by GitHub
parent 23ad2b58b1
commit ffef4d5844
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/transactions/layered/LayeredPendingTransactions.java

@ -351,9 +351,7 @@ public class LayeredPendingTransactions implements PendingTransactions {
}
});
logDiscardedTransaction(candidatePendingTx, selectionResult);
}
if (selectionResult.penalize()) {
} else if (selectionResult.penalize()) {
ethScheduler.scheduleTxWorkerTask(
() -> {
synchronized (this) {

Loading…
Cancel
Save