mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 14:05:51 +00:00
Add tecOWNERS.
This commit is contained in:
@@ -31,6 +31,7 @@ bool transResultInfo (TER terCode, std::string& strToken, std::string& strHuman)
|
||||
{ tecUNFUNDED_ADD, "tecUNFUNDED_ADD", "Insufficient XRP balance for WalletAdd." },
|
||||
{ tecUNFUNDED_OFFER, "tecUNFUNDED_OFFER", "Insufficient balance to fund created offer." },
|
||||
{ tecUNFUNDED_PAYMENT, "tecUNFUNDED_PAYMENT", "Insufficient XRP balance to send." },
|
||||
{ tecOWNERS, "tecOWNERS", "Non-zero owner count." },
|
||||
|
||||
{ tefFAILURE, "tefFAILURE", "Failed to apply." },
|
||||
{ tefALREADY, "tefALREADY", "The exact transaction was already in this ledger." },
|
||||
|
||||
@@ -150,6 +150,7 @@ enum TER // aka TransactionEngineResult
|
||||
tecUNFUNDED = 129, // Deprecated, old ambiguous unfunded.
|
||||
tecMASTER_DISABLED = 130,
|
||||
tecNO_REGULAR_KEY = 131,
|
||||
tecOWNERS = 132,
|
||||
};
|
||||
|
||||
// VFALCO TODO change these to normal functions.
|
||||
|
||||
@@ -50,7 +50,7 @@ TER AccountSetTransactor::doApply ()
|
||||
{
|
||||
WriteLog (lsINFO, AccountSetTransactor) << "AccountSet: Retry: OwnerCount not zero.";
|
||||
|
||||
return terOWNERS;
|
||||
return isSetBit(mParams, tapRETRY) ? terOWNERS : tecOWNERS;
|
||||
}
|
||||
|
||||
WriteLog (lsINFO, AccountSetTransactor) << "AccountSet: Set RequireAuth.";
|
||||
|
||||
Reference in New Issue
Block a user