mirror of
https://github.com/monero-project/monero.git
synced 2024-11-18 00:37:43 +00:00
simplewallet: add return type for donate function
Resolves -Wreturn-type References #1447 #1451
This commit is contained in:
parent
d36669fd75
commit
b9a28677e2
1 changed files with 1 additions and 0 deletions
|
@ -2865,6 +2865,7 @@ bool simple_wallet::donate(const std::vector<std::string> &args_)
|
|||
if (!payment_id_str.empty())
|
||||
local_args.push_back(payment_id_str);
|
||||
transfer_new(local_args);
|
||||
return true;
|
||||
}
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
bool simple_wallet::accept_loaded_tx(const std::function<size_t()> get_num_txes, const std::function<const tools::wallet2::tx_construction_data&(size_t)> &get_tx, const std::string &extra_message)
|
||||
|
|
Loading…
Reference in a new issue