aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMaxithi <34792056+Maxithi@users.noreply.github.com>2018-01-04 15:33:20 +0100
committerMaxithi <34792056+Maxithi@users.noreply.github.com>2018-01-05 12:58:40 +0100
commit9ffa97fe982fa14cbceaf2a88049f30237a96eb9 (patch)
tree2556fc3a636e6f834c690f009b10c2e449bc9656 /tests
parentMerge pull request #3019 (diff)
downloadmonero-9ffa97fe982fa14cbceaf2a88049f30237a96eb9.tar.xz
Factor the monero donation address
Signed-off-by: Maxithi <34792056+Maxithi@users.noreply.github.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/unit_tests/address_from_url.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit_tests/address_from_url.cpp b/tests/unit_tests/address_from_url.cpp
index 3630b59d3..f4ecbc295 100644
--- a/tests/unit_tests/address_from_url.cpp
+++ b/tests/unit_tests/address_from_url.cpp
@@ -32,6 +32,7 @@
#include "wallet/wallet2.h"
#include "common/dns_utils.h"
+#include "simplewallet/simplewallet.h"
#include <string>
TEST(AddressFromTXT, Success)
@@ -83,7 +84,7 @@ TEST(AddressFromTXT, Failure)
TEST(AddressFromURL, Success)
{
- const std::string addr = "44AFFq5kSiGBoZ4NMDwYtN18obc8AemS33DBLWs3H7otXft3XjrpDtQGv7SqSsaBYBb98uNbr2VBBEt7f2wfn3RVGQBEP3A";
+ const std::string addr = MONERO_DONATION_ADDR;
bool dnssec_result = false;