From 561e87c05027b5946924bd9e6a5528c57b13f20f Mon Sep 17 00:00:00 2001 From: Arthur Britto Date: Sun, 27 May 2012 17:42:10 -0700 Subject: [PATCH] Use ^ for decimal in RPC syntax for XNS. --- src/Amount.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Amount.cpp b/src/Amount.cpp index f51dbd5204..bdbdb5d975 100644 --- a/src/Amount.cpp +++ b/src/Amount.cpp @@ -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)