diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-01-08 16:31:42 -0800 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-01-08 16:31:42 -0800 |
commit | ff1bb6bc6801da46f1fc06b1e177ed53a19acb53 (patch) | |
tree | 5fa4c8e59e2598fdac67dcc08ca4f62faffd33c4 /src/wallet/api/wallet_manager.cpp | |
parent | Merge pull request #1487 (diff) | |
parent | make openalias also available for solo miner; introduce namespace tools::dns_... (diff) | |
download | monero-ff1bb6bc6801da46f1fc06b1e177ed53a19acb53.tar.xz |
Merge pull request #1460
99580adf make openalias also available for solo miner; introduce namespace tools::dns_utils; support integrated address with dns lookup (kenshi84)
Diffstat (limited to 'src/wallet/api/wallet_manager.cpp')
-rw-r--r-- | src/wallet/api/wallet_manager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wallet/api/wallet_manager.cpp b/src/wallet/api/wallet_manager.cpp index 4ee5ab8df..d29f3d375 100644 --- a/src/wallet/api/wallet_manager.cpp +++ b/src/wallet/api/wallet_manager.cpp @@ -32,6 +32,7 @@ #include "wallet_manager.h" #include "wallet.h" #include "common_defines.h" +#include "common/dns_utils.h" #include "net/http_client.h" #include <boost/filesystem.hpp> @@ -354,7 +355,7 @@ double WalletManagerImpl::miningHashRate() const std::string WalletManagerImpl::resolveOpenAlias(const std::string &address, bool &dnssec_valid) const { - std::vector<std::string> addresses = tools::wallet2::addresses_from_url(address, dnssec_valid); + std::vector<std::string> addresses = tools::dns_utils::addresses_from_url(address, dnssec_valid); if (addresses.empty()) return ""; return addresses.front(); |