diff options
author | Jeff Garzik <jgarzik@bitpay.com> | 2014-08-19 13:41:25 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@bitpay.com> | 2014-08-20 00:27:42 -0400 |
commit | 42642c96950f50bec0866483876a6eef27318fec (patch) | |
tree | 2cc20636fe278d97ef2f8f29c2f19832e6e5c16e /src | |
parent | 335e3a5c95165ed778e84757657da65b1358bdff (diff) |
UniValue: use correct setNumStr() input val, when setting number values
Diffstat (limited to 'src')
-rw-r--r-- | src/univalue/univalue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/univalue/univalue.cpp b/src/univalue/univalue.cpp index afc208bffb..b0171e48c4 100644 --- a/src/univalue/univalue.cpp +++ b/src/univalue/univalue.cpp @@ -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(); |