UniValue: use correct setNumStr() input val, when setting number values
This commit is contained in:
parent
335e3a5c95
commit
42642c9695
|
@ -44,7 +44,7 @@ static bool validNumStr(const string& s)
|
||||||
|
|
||||||
bool UniValue::setNumStr(const string& val_)
|
bool UniValue::setNumStr(const string& val_)
|
||||||
{
|
{
|
||||||
if (!validNumStr(val))
|
if (!validNumStr(val_))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
clear();
|
clear();
|
||||||
|
|
Loading…
Reference in New Issue