mirror of
https://github.com/wownero/wownero.git
synced 2026-12-01 13:43:55 +01: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