mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 14:35:52 +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;
|
return LCAT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isTefFailure(result) || isTemMalformed(result))
|
if (isTefFailure(result) || isTemMalformed(result) || isTelLocal(result))
|
||||||
{ // failure
|
{ // failure
|
||||||
cLog(lsDEBUG) << "Transaction failure: " << transHuman(result);
|
cLog(lsDEBUG) << "Transaction failure: " << transHuman(result);
|
||||||
return LCAT_FAIL;
|
return LCAT_FAIL;
|
||||||
|
|||||||
Reference in New Issue
Block a user