mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 22:45:52 +00:00
Remove obsolete TERs in prep for ledger wipe.
This commit is contained in:
@@ -1819,7 +1819,7 @@ TER RippleCalc::calcNodeAccountRev(const unsigned int uNode, PathState& psCur, c
|
||||
if (!saCurWantedAct)
|
||||
{
|
||||
// Must have processed something.
|
||||
terResult = tepPATH_DRY;
|
||||
terResult = tecPATH_DRY;
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -1852,7 +1852,7 @@ TER RippleCalc::calcNodeAccountRev(const unsigned int uNode, PathState& psCur, c
|
||||
if (!saPrvDeliverAct)
|
||||
{
|
||||
// Must want something.
|
||||
terResult = tepPATH_DRY;
|
||||
terResult = tecPATH_DRY;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -59,8 +59,6 @@ bool transResultInfo(TER terCode, std::string& strToken, std::string& strHuman)
|
||||
{ temUNKNOWN, "temUNKNOWN", "The transactions requires logic not implemented yet." },
|
||||
|
||||
{ tepPARTIAL, "tepPARTIAL", "Partial success." },
|
||||
{ tepINSUF_RESERVE_OFFER, "tepINSUF_RESERVE_OFFER", "Insufficent reserve to create offer." },
|
||||
{ tepPATH_DRY, "tepPATH_DRY", "Path could not send partial amount. Obsolete." },
|
||||
{ tepPATH_PARTIAL, "tepPATH_PARTIAL", "Path could not send full amount." },
|
||||
|
||||
{ terRETRY, "terRETRY", "Retry transaction." },
|
||||
|
||||
@@ -102,9 +102,7 @@ enum TER // aka TransactionEngineResult
|
||||
//
|
||||
// DO NOT CHANGE THESE NUMBERS: They appear in ledger meta data.
|
||||
tepPARTIAL = 100,
|
||||
tepPATH_DRY = 101, // Obsolete. May exist in ledger.
|
||||
tepPATH_PARTIAL = 102,
|
||||
tepINSUF_RESERVE_OFFER = 103, // Obsolete. May exist in ledger.
|
||||
tepPATH_PARTIAL = 101,
|
||||
|
||||
// 120 .. C Claim fee only (CO) (no path)
|
||||
// Causes:
|
||||
|
||||
Reference in New Issue
Block a user