Use ^ for decimal in RPC syntax for XNS.

This commit is contained in:
Arthur Britto
2012-05-27 17:42:10 -07:00
parent bca01a396f
commit 561e87c050

View File

@@ -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)