From db44a909bacd4acb56aabaa4925b4c95ed16fc84 Mon Sep 17 00:00:00 2001 From: luigi1111 Date: Sun, 8 Jan 2017 20:26:57 -0600 Subject: [PATCH] Fix monero-wallet-cli compile Not 100$ sure this is the right fix, nor whether address book entries from URL should be stored as addresses or URLs (or both with a check for change on payment). --- src/simplewallet/simplewallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index 088d5e2a..c3637cb5 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -3541,7 +3541,7 @@ bool simple_wallet::address_book(const std::vector &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;