mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Error changes for offer reserves.
This commit is contained in:
@@ -46,6 +46,7 @@ bool transResultInfo(TER terCode, std::string& strToken, std::string& strHuman)
|
||||
|
||||
{ tepPATH_DRY, "tepPATH_DRY", "Path could not send partial amount." },
|
||||
{ tepPATH_PARTIAL, "tepPATH_PARTIAL", "Path could not send full amount." },
|
||||
{ tepINSUF_RESERVE_OFFER, "tepINSUF_RESERVE_OFFER", "Insufficent reserve to create offer." },
|
||||
|
||||
{ terDIR_FULL, "terDIR_FULL", "Can not add entry to full dir." },
|
||||
{ terFUNDS_SPENT, "terFUNDS_SPENT", "Can't set password, password set funds already spent." },
|
||||
|
||||
@@ -108,9 +108,10 @@ enum TER // aka TransactionEngineResult
|
||||
// - Forwarded
|
||||
// Only allowed as a return code of appliedTransaction when !tapRetry. Otherwise, treated as terRETRY.
|
||||
// CAUTION: The numerical values for these results are part of the binary formats
|
||||
tepPARTIAL = 100,
|
||||
tepPATH_DRY = 101,
|
||||
tepPATH_PARTIAL = 102,
|
||||
tepPARTIAL = 100,
|
||||
tepPATH_DRY = 101,
|
||||
tepPATH_PARTIAL = 102,
|
||||
tepINSUF_RESERVE_OFFER = 103,
|
||||
};
|
||||
|
||||
#define isTelLocal(x) ((x) >= telLOCAL_ERROR && (x) < temMALFORMED)
|
||||
|
||||
Reference in New Issue
Block a user