mirror of
https://github.com/monero-project/monero.git
synced 2026-01-18 23:55:47 -08:00
wallet_manager: omit redundant disconnect, drop unused variable
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user