mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 22:38:53 +00:00
Merge pull request #1466
c367d7df
README: add note about the donate command (anonimal)b9a28677
simplewallet: add return type for donate function (anonimal)d36669fd
simplewallet: hardcode Monero's donation address (anonimal)
This commit is contained in:
commit
1551ce98f2
@ -61,6 +61,8 @@ The Monero donation address is: `44AFFq5kSiGBoZ4NMDwYtN18obc8AemS33DBLWs3H7otXft
|
||||
|
||||
The Bitcoin donation address is: `1KTexdemPdxSBcG55heUuTjDRYqbC5ZL8H`
|
||||
|
||||
*Note: you can easily donate XMR to the Monero donation address by using the `donate` command. Type `help` in the command-line wallet for details.*
|
||||
|
||||
Core development funding and/or some supporting services are also graciously provided by sponsors:
|
||||
|
||||
[<img width="80" src="https://static.getmonero.org/images/sponsors/mymonero.png"/>](https://mymonero.com)
|
||||
|
@ -2836,7 +2836,8 @@ bool simple_wallet::donate(const std::vector<std::string> &args_)
|
||||
return true;
|
||||
}
|
||||
std::string mixin_str;
|
||||
std::string address_str = "donate.getmonero.org";
|
||||
// Hardcode Monero's donation address (see #1447)
|
||||
const std::string address_str = "44AFFq5kSiGBoZ4NMDwYtN18obc8AemS33DBLWs3H7otXft3XjrpDtQGv7SqSsaBYBb98uNbr2VBBEt7f2wfn3RVGQBEP3A";
|
||||
std::string amount_str;
|
||||
std::string payment_id_str;
|
||||
// check payment id
|
||||
@ -2864,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 New Issue
Block a user