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_DRY, "tepPATH_DRY", "Path could not send partial amount." },
|
||||||
{ tepPATH_PARTIAL, "tepPATH_PARTIAL", "Path could not send full 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." },
|
{ terDIR_FULL, "terDIR_FULL", "Can not add entry to full dir." },
|
||||||
{ terFUNDS_SPENT, "terFUNDS_SPENT", "Can't set password, password set funds already spent." },
|
{ terFUNDS_SPENT, "terFUNDS_SPENT", "Can't set password, password set funds already spent." },
|
||||||
|
|||||||
@@ -111,6 +111,7 @@ enum TER // aka TransactionEngineResult
|
|||||||
tepPARTIAL = 100,
|
tepPARTIAL = 100,
|
||||||
tepPATH_DRY = 101,
|
tepPATH_DRY = 101,
|
||||||
tepPATH_PARTIAL = 102,
|
tepPATH_PARTIAL = 102,
|
||||||
|
tepINSUF_RESERVE_OFFER = 103,
|
||||||
};
|
};
|
||||||
|
|
||||||
#define isTelLocal(x) ((x) >= telLOCAL_ERROR && (x) < temMALFORMED)
|
#define isTelLocal(x) ((x) >= telLOCAL_ERROR && (x) < temMALFORMED)
|
||||||
|
|||||||
Reference in New Issue
Block a user