mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-01 08:25:51 +00:00
Change temDST_TAG_NEEDED to tefDST_TAG_NEEDED.
This commit is contained in:
@@ -146,7 +146,7 @@ TER PaymentTransactor::doApply()
|
|||||||
{
|
{
|
||||||
cLog(lsINFO) << "Payment: Malformed transaction: DestinationTag required.";
|
cLog(lsINFO) << "Payment: Malformed transaction: DestinationTag required.";
|
||||||
|
|
||||||
return temDST_TAG_NEEDED;
|
return tefDST_TAG_NEEDED;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ bool transResultInfo(TER terCode, std::string& strToken, std::string& strHuman)
|
|||||||
{ tefBAD_LEDGER, "tefBAD_LEDGER", "Ledger in unexpected state." },
|
{ tefBAD_LEDGER, "tefBAD_LEDGER", "Ledger in unexpected state." },
|
||||||
{ tefCLAIMED, "tefCLAIMED", "Can not claim a previously claimed account." },
|
{ tefCLAIMED, "tefCLAIMED", "Can not claim a previously claimed account." },
|
||||||
{ tefCREATED, "tefCREATED", "Can't add an already created account." },
|
{ tefCREATED, "tefCREATED", "Can't add an already created account." },
|
||||||
|
{ tefDST_TAG_NEEDED, "tefDST_TAG_NEEDED", "Destination tag required." },
|
||||||
{ tefEXCEPTION, "tefEXCEPTION", "Unexpected program state." },
|
{ tefEXCEPTION, "tefEXCEPTION", "Unexpected program state." },
|
||||||
{ tefGEN_IN_USE, "tefGEN_IN_USE", "Generator already in use." },
|
{ tefGEN_IN_USE, "tefGEN_IN_USE", "Generator already in use." },
|
||||||
{ tefINTERNAL, "tefINTERNAL", "Internal error." },
|
{ tefINTERNAL, "tefINTERNAL", "Internal error." },
|
||||||
@@ -71,7 +72,6 @@ bool transResultInfo(TER terCode, std::string& strToken, std::string& strHuman)
|
|||||||
{ temBAD_SEND_XRP_PATHS, "temBAD_SEND_XRP_PATHS", "Malformed: Paths are not allowed for XRP to XRP." },
|
{ temBAD_SEND_XRP_PATHS, "temBAD_SEND_XRP_PATHS", "Malformed: Paths are not allowed for XRP to XRP." },
|
||||||
{ temDST_IS_SRC, "temDST_IS_SRC", "Destination may not be source." },
|
{ temDST_IS_SRC, "temDST_IS_SRC", "Destination may not be source." },
|
||||||
{ temDST_NEEDED, "temDST_NEEDED", "Destination not specified." },
|
{ temDST_NEEDED, "temDST_NEEDED", "Destination not specified." },
|
||||||
{ temDST_TAG_NEEDED, "temDST_TAG_NEEDED", "Destination tag required." },
|
|
||||||
{ temINVALID, "temINVALID", "The transaction is ill-formed." },
|
{ temINVALID, "temINVALID", "The transaction is ill-formed." },
|
||||||
{ temINVALID_FLAG, "temINVALID_FLAG", "The transaction has an invalid flag." },
|
{ temINVALID_FLAG, "temINVALID_FLAG", "The transaction has an invalid flag." },
|
||||||
{ temREDUNDANT, "temREDUNDANT", "Sends same currency to self." },
|
{ temREDUNDANT, "temREDUNDANT", "Sends same currency to self." },
|
||||||
|
|||||||
@@ -51,7 +51,6 @@ enum TER // aka TransactionEngineResult
|
|||||||
temBAD_SEQUENCE,
|
temBAD_SEQUENCE,
|
||||||
temDST_IS_SRC,
|
temDST_IS_SRC,
|
||||||
temDST_NEEDED,
|
temDST_NEEDED,
|
||||||
temDST_TAG_NEEDED,
|
|
||||||
temINVALID,
|
temINVALID,
|
||||||
temINVALID_FLAG,
|
temINVALID_FLAG,
|
||||||
temREDUNDANT,
|
temREDUNDANT,
|
||||||
@@ -78,6 +77,7 @@ enum TER // aka TransactionEngineResult
|
|||||||
tefBAD_LEDGER,
|
tefBAD_LEDGER,
|
||||||
tefCLAIMED,
|
tefCLAIMED,
|
||||||
tefCREATED,
|
tefCREATED,
|
||||||
|
tefDST_TAG_NEEDED,
|
||||||
tefEXCEPTION,
|
tefEXCEPTION,
|
||||||
tefGEN_IN_USE,
|
tefGEN_IN_USE,
|
||||||
tefINTERNAL,
|
tefINTERNAL,
|
||||||
|
|||||||
Reference in New Issue
Block a user