aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-07-24 14:16:00 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-07-24 14:16:00 -0500
commit8600b3c69d1c5cb08b0e4e5c1270fbe95b6df81c (patch)
treea21749dcda1f91a25e735aeee186445ba312ec90 /src/wallet/api
parentMerge pull request #5574 (diff)
parentwallet_manager: omit redundant disconnect, drop unused variable (diff)
downloadmonero-8600b3c69d1c5cb08b0e4e5c1270fbe95b6df81c.tar.xz
Merge pull request #5576
577324a wallet_manager: omit redundant disconnect, drop unused variable (xiphon)
Diffstat (limited to 'src/wallet/api')
-rw-r--r--src/wallet/api/wallet_manager.cpp3
-rw-r--r--src/wallet/api/wallet_manager.h1
2 files changed, 0 insertions, 4 deletions
diff --git a/src/wallet/api/wallet_manager.cpp b/src/wallet/api/wallet_manager.cpp
index ef2ed2015..d589dcc75 100644
--- a/src/wallet/api/wallet_manager.cpp
+++ b/src/wallet/api/wallet_manager.cpp
@@ -227,9 +227,6 @@ std::string WalletManagerImpl::errorString() const
void WalletManagerImpl::setDaemonAddress(const std::string &address)
{
- m_daemonAddress = address;
- if(m_http_client.is_connected())
- m_http_client.disconnect();
m_http_client.set_server(address, boost::none);
}
diff --git a/src/wallet/api/wallet_manager.h b/src/wallet/api/wallet_manager.h
index 235f96e17..537fc5ba6 100644
--- a/src/wallet/api/wallet_manager.h
+++ b/src/wallet/api/wallet_manager.h
@@ -95,7 +95,6 @@ public:
private:
WalletManagerImpl() {}
friend struct WalletManagerFactory;
- std::string m_daemonAddress;
epee::net_utils::http::http_simple_client m_http_client;
std::string m_errorString;
};