take m_daemon_rpc_mutex in wallet2::get_daemon_address

This commit is contained in:
Alhuda Khan
2026-08-18 16:11:54 +05:30
parent 641e5ca588
commit 472a275db0
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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;
}
+1 -1
View File
@@ -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;