Remove obsolete TERs in prep for ledger wipe.

This commit is contained in:
Arthur Britto
2012-12-24 16:06:50 -08:00
parent 6a8d31afd7
commit 7636e5f388
3 changed files with 3 additions and 7 deletions

View File

@@ -1819,7 +1819,7 @@ TER RippleCalc::calcNodeAccountRev(const unsigned int uNode, PathState& psCur, c
if (!saCurWantedAct) if (!saCurWantedAct)
{ {
// Must have processed something. // Must have processed something.
terResult = tepPATH_DRY; terResult = tecPATH_DRY;
} }
} }
else else
@@ -1852,7 +1852,7 @@ TER RippleCalc::calcNodeAccountRev(const unsigned int uNode, PathState& psCur, c
if (!saPrvDeliverAct) if (!saPrvDeliverAct)
{ {
// Must want something. // Must want something.
terResult = tepPATH_DRY; terResult = tecPATH_DRY;
} }
} }
} }

View File

@@ -59,8 +59,6 @@ bool transResultInfo(TER terCode, std::string& strToken, std::string& strHuman)
{ temUNKNOWN, "temUNKNOWN", "The transactions requires logic not implemented yet." }, { temUNKNOWN, "temUNKNOWN", "The transactions requires logic not implemented yet." },
{ tepPARTIAL, "tepPARTIAL", "Partial success." }, { 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." }, { tepPATH_PARTIAL, "tepPATH_PARTIAL", "Path could not send full amount." },
{ terRETRY, "terRETRY", "Retry transaction." }, { terRETRY, "terRETRY", "Retry transaction." },

View File

@@ -102,9 +102,7 @@ enum TER // aka TransactionEngineResult
// //
// DO NOT CHANGE THESE NUMBERS: They appear in ledger meta data. // DO NOT CHANGE THESE NUMBERS: They appear in ledger meta data.
tepPARTIAL = 100, tepPARTIAL = 100,
tepPATH_DRY = 101, // Obsolete. May exist in ledger. tepPATH_PARTIAL = 101,
tepPATH_PARTIAL = 102,
tepINSUF_RESERVE_OFFER = 103, // Obsolete. May exist in ledger.
// 120 .. C Claim fee only (CO) (no path) // 120 .. C Claim fee only (CO) (no path)
// Causes: // Causes: