diff --git a/src/Amount.cpp b/src/Amount.cpp index f51dbd520..bdbdb5d97 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)