mirror of
https://github.com/wownero/wownero.git
synced 2026-10-17 15:41:44 +02:00
take m_daemon_rpc_mutex in wallet2::get_daemon_address
This commit is contained in:
@@ -12667,6 +12667,7 @@ std::string wallet2::get_keys_file() const
|
||||
|
||||
std::string wallet2::get_daemon_address() const
|
||||
{
|
||||
boost::lock_guard lock(m_daemon_rpc_mutex);
|
||||
return m_daemon_address;
|
||||
}
|
||||
|
||||
|
||||
@@ -1659,7 +1659,7 @@ private:
|
||||
|
||||
std::atomic<bool> m_run;
|
||||
|
||||
boost::recursive_mutex m_daemon_rpc_mutex;
|
||||
mutable boost::recursive_mutex m_daemon_rpc_mutex;
|
||||
|
||||
bool m_trusted_daemon;
|
||||
i_wallet2_callback* m_callback;
|
||||
|
||||
Reference in New Issue
Block a user