mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 12:09:54 +00:00
wallet_manager: omit redundant disconnect, drop unused variable
This commit is contained in:
parent
5fbfa8a656
commit
577324a954
2 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue