We should accept numbers as long as we produce.

This commit is contained in:
JoelKatz
2013-05-02 19:20:21 -07:00
parent b6871cba8d
commit 0e9973d3a8

View File

@@ -281,7 +281,7 @@ bool STAmount::setValue(const std::string& sAmount)
try
{
if ((smMatch[2].length() + smMatch[4].length()) > 25)
if ((smMatch[2].length() + smMatch[4].length()) > 32)
{
cLog(lsWARNING) << "Overlong number: " << sAmount;
return false;