aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoranonimal <anonimal@i2pmail.org>2016-12-17 02:52:09 +0000
committeranonimal <anonimal@i2pmail.org>2016-12-17 02:52:09 +0000
commitd36669fd75de38709283f820458f5883f0a93ed7 (patch)
tree834624f532d9945740ceda64800241cbae492823
parentMerge pull request #1459 (diff)
downloadmonero-d36669fd75de38709283f820458f5883f0a93ed7.tar.xz
simplewallet: hardcode Monero's donation address
Closes #1447 References #1451
-rw-r--r--src/simplewallet/simplewallet.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index b46447975..b00d837c8 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -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