mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-22 23:42:24 +00:00
libwallet_api: helper method to return maximumAllowedAmount
This commit is contained in:
parent
cbe534db1a
commit
32bc7b41c0
2 changed files with 6 additions and 0 deletions
|
@ -154,6 +154,11 @@ bool Wallet::paymentIdValid(const string &paiment_id)
|
|||
return tools::wallet2::parse_short_payment_id(paiment_id, pid);
|
||||
}
|
||||
|
||||
uint64_t Wallet::maximumAllowedAmount()
|
||||
{
|
||||
return std::numeric_limits<uint64_t>::max();
|
||||
}
|
||||
|
||||
|
||||
///////////////////////// WalletImpl implementation ////////////////////////
|
||||
WalletImpl::WalletImpl(bool testnet)
|
||||
|
|
|
@ -216,6 +216,7 @@ struct Wallet
|
|||
static uint64_t amountFromDouble(double amount);
|
||||
static std::string genPaymentId();
|
||||
static bool paymentIdValid(const std::string &paiment_id);
|
||||
static uint64_t maximumAllowedAmount();
|
||||
|
||||
/**
|
||||
* @brief refresh - refreshes the wallet, updating transactions from daemon
|
||||
|
|
Loading…
Reference in a new issue