diff options
author | anonimal <anonimal@i2pmail.org> | 2016-12-17 03:37:20 +0000 |
---|---|---|
committer | anonimal <anonimal@i2pmail.org> | 2016-12-17 03:37:20 +0000 |
commit | b9a28677e266c0a493ca477202b301c9c7026c45 (patch) | |
tree | 3668777f05a29e2e87bf569ae7afd2b116ec556b /src | |
parent | simplewallet: hardcode Monero's donation address (diff) | |
download | monero-b9a28677e266c0a493ca477202b301c9c7026c45.tar.xz |
simplewallet: add return type for donate function
Resolves -Wreturn-type
References #1447 #1451
Diffstat (limited to 'src')
-rw-r--r-- | src/simplewallet/simplewallet.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index b00d837c8..36c862155 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -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) |