mirror of
https://github.com/monero-project/monero.git
synced 2026-01-27 14:54:40 +01:00
libwallet_api: Wallet::amountFromString fixed
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user