mirror of
https://github.com/monero-project/monero.git
synced 2025-07-27 14:15:24 -04:00
libwallet_api: Wallet::amountFromString fixed
This commit is contained in:
parent
32bc7b41c0
commit
bcf7b67cd6
2 changed files with 24 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue