aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-01-10 08:23:31 -0500
committerRiccardo Spagni <ric@spagni.net>2017-01-10 08:23:31 -0500
commit4026e7b7de8a810607e2fa4254e2548e48148eb5 (patch)
treeb426ea1b02ade636fa8809cc187fd9720025f72a
parentMerge pull request #1542 (diff)
parentFix monero-wallet-cli compile (diff)
downloadmonero-4026e7b7de8a810607e2fa4254e2548e48148eb5.tar.xz
Merge pull request #1544
db44a909 Fix monero-wallet-cli compile (luigi1111)
-rw-r--r--src/simplewallet/simplewallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index 088d5e2ac..c3637cb5f 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -3541,7 +3541,7 @@ bool simple_wallet::address_book(const std::vector<std::string> &args/* = std::v
cryptonote::account_public_address address;
bool has_payment_id;
crypto::hash8 payment_id8;
- if (!get_address_from_str(args[1], address, has_payment_id, payment_id8))
+ if(!tools::dns_utils::get_account_address_from_str_or_url(address, has_payment_id, payment_id8, m_wallet->testnet(), args[1]))
{
fail_msg_writer() << tr("failed to parse address");
return true;