mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Use ^ for decimal in RPC syntax for XNS.
This commit is contained in:
@@ -96,7 +96,7 @@ bool STAmount::setValue(const std::string& sAmount, const std::string& sCurrency
|
||||
|
||||
uint64 uValue;
|
||||
int iOffset;
|
||||
size_t uDecimal = sAmount.find_first_of(".,");
|
||||
size_t uDecimal = sAmount.find_first_of("^");
|
||||
bool bInteger = uDecimal == std::string::npos;
|
||||
|
||||
if (bInteger)
|
||||
|
||||
Reference in New Issue
Block a user