mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 06:25:51 +00:00
Correctly handle local failures in the consensus transaction application process.
Local failures are not retriable.
This commit is contained in:
@@ -1156,7 +1156,7 @@ int LedgerConsensus::applyTransaction(TransactionEngine& engine, SerializedTrans
|
||||
return LCAT_SUCCESS;
|
||||
}
|
||||
|
||||
if (isTefFailure(result) || isTemMalformed(result))
|
||||
if (isTefFailure(result) || isTemMalformed(result) || isTelLocal(result))
|
||||
{ // failure
|
||||
cLog(lsDEBUG) << "Transaction failure: " << transHuman(result);
|
||||
return LCAT_FAIL;
|
||||
|
||||
Reference in New Issue
Block a user