aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortobtoht <tob@featherwallet.org>2026-06-09 17:48:00 +0000
committertobtoht <tob@featherwallet.org>2026-06-09 17:48:00 +0000
commitf6939487fe5f8efe865cbfa9204956c85411241b (patch)
treeaa5ba70c4d57a8795dc27f5dba4698b6a248adcc /src
parenta304801aee7da7e49b02a2bd218b58dd5161351d (diff)
parent2b97e3ae049cc872c29b6994304a1e65d8338caa (diff)
downloadmonzero-core-f6939487fe5f8efe865cbfa9204956c85411241b.tar.gz
monzero-core-f6939487fe5f8efe865cbfa9204956c85411241b.tar.xz
monzero-core-f6939487fe5f8efe865cbfa9204956c85411241b.zip
Merge pull request #10702
2b97e3a wallet2: fix double unlock of a lock (SChernykh)
Diffstat (limited to 'src')
-rw-r--r--src/wallet/wallet2.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp
index 4c8d54f61..61f49481e 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -9116,7 +9116,6 @@ void wallet2::light_wallet_get_outs(std::vector<std::vector<tools::wallet2::get_
{
const boost::lock_guard<boost::recursive_mutex> lock{m_daemon_rpc_mutex};
bool r = epee::net_utils::invoke_http_json("/get_random_outs", oreq, ores, *m_http_client, rpc_timeout, "POST");
- m_daemon_rpc_mutex.unlock();
THROW_WALLET_EXCEPTION_IF(!r, error::no_connection_to_daemon, "get_random_outs");
THROW_WALLET_EXCEPTION_IF(ores.amount_outs.empty() , error::wallet_internal_error, "No outputs received from light wallet node. Error: " + ores.Error);
}