update donation address

This commit is contained in:
wowario 2018-06-04 18:48:14 +03:00
parent f58de1e817
commit b6c3926287
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111
2 changed files with 7 additions and 4 deletions

View File

@ -1940,6 +1940,7 @@ bool simple_wallet::help(const std::vector<std::string> &args/* = std::vector<st
tr(" \"refresh\" - Synchronize wallet with the Wownero network.\n") <<
tr(" \"status\" - Check current status of wallet.\n") <<
tr(" \"version\" - Check software version.\n") <<
tr(" \"donate [amount]\" - Donate WOW to dev team.\n") <<
tr(" \"help\" - Show simplified help section.\n") <<
tr(" \"help_advanced\" - Show advanced help section.\n") <<
tr(" \"save\" - Save wallet.\n") <<
@ -2028,8 +2029,10 @@ simple_wallet::simple_wallet()
tr("Send a single output of the given key image to an address without change."));
m_cmd_binder.set_handler("donate",
boost::bind(&simple_wallet::donate, this, _1),
tr("donate [index=<N1>[,<N2>,...]] [<priority>] <amount> [<payment_id>]"),
tr("Donate <amount> to the development team (donate.getmonero.org)."));
tr("donate [index=<N1>[,<N2>,...]] [<priority>] <amount> [<payment_id>]\n\n"
" Development fund:\n"
" Address: Wo3MWeKwtA918DU4c69hVSNgejdWFCRCuWjShRY66mJkU2Hv58eygJWDJS1MNa2Ge5M1WjUkGHuLqHkweDxwZZU42d16v94mP\n"
" Viewkey: e62e40bfd5ca7e3a7f199602a3c97df511780489e1c1861884b00c28abaea406"));
m_cmd_binder.set_handler("sign_transfer",
boost::bind(&simple_wallet::sign_transfer, this, _1),
tr("sign_transfer [export]"),
@ -5232,7 +5235,7 @@ bool simple_wallet::donate(const std::vector<std::string> &args_)
local_args.push_back(amount_str);
if (!payment_id_str.empty())
local_args.push_back(payment_id_str);
message_writer() << tr("Donating ") << amount_str << " to The Monero Project (donate.getmonero.org or "<< MONERO_DONATION_ADDR <<").";
message_writer() << tr("Donating ") << amount_str << " WOW to help get some stripers through college.";
transfer_new(local_args);
return true;
}

View File

@ -51,7 +51,7 @@
#undef MONERO_DEFAULT_LOG_CATEGORY
#define MONERO_DEFAULT_LOG_CATEGORY "wallet.simplewallet"
// Hardcode Monero's donation address (see #1447)
constexpr const char MONERO_DONATION_ADDR[] = "44AFFq5kSiGBoZ4NMDwYtN18obc8AemS33DBLWs3H7otXft3XjrpDtQGv7SqSsaBYBb98uNbr2VBBEt7f2wfn3RVGQBEP3A";
constexpr const char MONERO_DONATION_ADDR[] = "Wo3MWeKwtA918DU4c69hVSNgejdWFCRCuWjShRY66mJkU2Hv58eygJWDJS1MNa2Ge5M1WjUkGHuLqHkweDxwZZU42d16v94mP";
/*!
* \namespace cryptonote