mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
We should accept numbers as long as we produce.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user