diff --git a/src/cpp/ripple/RippleCalc.cpp b/src/cpp/ripple/RippleCalc.cpp index 23e210a5d0..a86a9b8434 100644 --- a/src/cpp/ripple/RippleCalc.cpp +++ b/src/cpp/ripple/RippleCalc.cpp @@ -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; } } } diff --git a/src/cpp/ripple/TransactionErr.cpp b/src/cpp/ripple/TransactionErr.cpp index cbc61cae47..e196f3a614 100644 --- a/src/cpp/ripple/TransactionErr.cpp +++ b/src/cpp/ripple/TransactionErr.cpp @@ -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." }, diff --git a/src/cpp/ripple/TransactionErr.h b/src/cpp/ripple/TransactionErr.h index 40242e2910..b09dea4a6f 100644 --- a/src/cpp/ripple/TransactionErr.h +++ b/src/cpp/ripple/TransactionErr.h @@ -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: