simplewallet: add return type for donate function

Resolves -Wreturn-type

References #1447 #1451
This commit is contained in:
anonimal 2016-12-17 03:37:20 +00:00
parent d36669fd75
commit b9a28677e2
No known key found for this signature in database
GPG key ID: 66A76ECF914409F1

View file

@ -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)