aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-08-23 13:46:51 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-08-23 13:47:21 +0300
commitbcf7b67cd6f85cdf8bf7799aa3890a56ea58ddc8 (patch)
tree6e969682e0d529723e21f6cb2f6a1b1c589d3116 /src
parentlibwallet_api: helper method to return maximumAllowedAmount (diff)
downloadmonero-bcf7b67cd6f85cdf8bf7799aa3890a56ea58ddc8.tar.xz
libwallet_api: Wallet::amountFromString fixed
Diffstat (limited to '')
-rw-r--r--src/wallet/api/wallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp
index a2066e62e..b3ee4112b 100644
--- a/src/wallet/api/wallet.cpp
+++ b/src/wallet/api/wallet.cpp
@@ -129,7 +129,7 @@ string Wallet::displayAmount(uint64_t amount)
uint64_t Wallet::amountFromString(const string &amount)
{
- uint64_t result;
+ uint64_t result = 0;
cryptonote::parse_amount(result, amount);
return result;
}