diff options
| author | SChernykh <15806605+SChernykh@users.noreply.github.com> | 2026-06-03 15:52:06 +0200 |
|---|---|---|
| committer | SChernykh <15806605+SChernykh@users.noreply.github.com> | 2026-06-03 15:52:06 +0200 |
| commit | 2b97e3ae049cc872c29b6994304a1e65d8338caa (patch) | |
| tree | bcdfbb632ccf89f0768b0819b7805832c0a069bc /src | |
| parent | 8a1de602f0a049d85d6f2c7a231d90b3c9cb310e (diff) | |
| download | monzero-core-2b97e3ae049cc872c29b6994304a1e65d8338caa.tar.gz monzero-core-2b97e3ae049cc872c29b6994304a1e65d8338caa.tar.xz monzero-core-2b97e3ae049cc872c29b6994304a1e65d8338caa.zip | |
wallet2: fix double unlock of a lock
Diffstat (limited to 'src')
| -rw-r--r-- | src/wallet/wallet2.cpp | 1 |
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); } |
