aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet_manager.cpp
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2019-05-27 14:34:28 +0000
committerxiphon <xiphon@protonmail.com>2019-05-27 14:40:29 +0000
commit577324a954c7d8b40c0f41d833ad3fdb816fd531 (patch)
tree97e1526ced4e7af382c5aa78efda29d99b167a97 /src/wallet/api/wallet_manager.cpp
parentMerge pull request #5548 (diff)
downloadmonero-577324a954c7d8b40c0f41d833ad3fdb816fd531.tar.xz
wallet_manager: omit redundant disconnect, drop unused variable
Diffstat (limited to 'src/wallet/api/wallet_manager.cpp')
-rw-r--r--src/wallet/api/wallet_manager.cpp3
1 files changed, 0 insertions, 3 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);
}