mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
simplewallet: add return type for donate function
Resolves -Wreturn-type References #1447 #1451
This commit is contained in:
parent
d36669fd75
commit
b9a28677e2
@ -2865,6 +2865,7 @@ bool simple_wallet::donate(const std::vector<std::string> &args_)
|
|||||||
if (!payment_id_str.empty())
|
if (!payment_id_str.empty())
|
||||||
local_args.push_back(payment_id_str);
|
local_args.push_back(payment_id_str);
|
||||||
transfer_new(local_args);
|
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)
|
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 New Issue
Block a user