mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-25 21:45:52 +00:00
Hopefully, handle partial success correctly. Retry engine.
This commit is contained in:
@@ -113,9 +113,9 @@ TER TransactionEngine::applyTransaction(const SerializedTransaction& txn, Transa
|
||||
cLog(lsINFO) << "applyTransaction: terResult=" << strToken << " : " << terResult << " : " << strHuman;
|
||||
|
||||
if (terResult == tesSUCCESS)
|
||||
{
|
||||
didApply = true;
|
||||
}
|
||||
else if (isTepSuccess(terResult) && isSetBit(params, tapRETRY))
|
||||
didApply = true;
|
||||
else if (isTecClaim(terResult) && !isSetBit(params, tapRETRY))
|
||||
{ // only claim the transaction fee
|
||||
cLog(lsINFO) << "Reprocessing to only claim fee";
|
||||
@@ -155,7 +155,8 @@ TER TransactionEngine::applyTransaction(const SerializedTransaction& txn, Transa
|
||||
}
|
||||
}
|
||||
}
|
||||
else cLog(lsINFO) << "Not applying transaction";
|
||||
else
|
||||
cLog(lsINFO) << "Not applying transaction";
|
||||
|
||||
if (didApply)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user