mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-26 17:32:33 +00:00
Make sure node returns to wallet that real output is unlocked
This commit is contained in:
parent
56f7609643
commit
6f15a0c8d3
1 changed files with 2 additions and 1 deletions
|
@ -8644,6 +8644,7 @@ void wallet2::get_outs(std::vector<std::vector<tools::wallet2::get_outs_entry>>
|
||||||
if (req.outputs[i].index == td.m_global_output_index)
|
if (req.outputs[i].index == td.m_global_output_index)
|
||||||
if (daemon_resp.outs[i].key == boost::get<txout_to_key>(td.m_tx.vout[td.m_internal_output_index].target).key)
|
if (daemon_resp.outs[i].key == boost::get<txout_to_key>(td.m_tx.vout[td.m_internal_output_index].target).key)
|
||||||
if (daemon_resp.outs[i].mask == mask)
|
if (daemon_resp.outs[i].mask == mask)
|
||||||
|
if (daemon_resp.outs[i].unlocked)
|
||||||
real_out_found = true;
|
real_out_found = true;
|
||||||
}
|
}
|
||||||
THROW_WALLET_EXCEPTION_IF(!real_out_found, error::wallet_internal_error,
|
THROW_WALLET_EXCEPTION_IF(!real_out_found, error::wallet_internal_error,
|
||||||
|
|
Loading…
Reference in a new issue