mirror of
https://codeberg.org/nahuhh/wownero
synced 2026-03-04 21:57:40 -05:00
Merge pull request #5576
577324a wallet_manager: omit redundant disconnect, drop unused variable (xiphon)
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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user