Skip to content

Commit

Permalink
UniValue: use correct setNumStr() input val, when setting number values
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Garzik committed Aug 20, 2014
1 parent 335e3a5 commit 42642c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/univalue/univalue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ static bool validNumStr(const string& s)

bool UniValue::setNumStr(const string& val_)
{
if (!validNumStr(val))
if (!validNumStr(val_))
return false;

clear();
Expand Down

0 comments on commit 42642c9

Please sign in to comment.