Skip to content

Commit

Permalink
Merge pull request #1544
Browse files Browse the repository at this point in the history
db44a90 Fix monero-wallet-cli compile (luigi1111)
  • Loading branch information
fluffypony committed Jan 10, 2017
2 parents c6ec939 + db44a90 commit 4026e7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simplewallet/simplewallet.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 4026e7b

Please sign in to comment.