mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #7849
6f15a0c
Make sure node returns to wallet that real output is unlocked (j-berman)
This commit is contained in:
commit
8b9eea92f1
1 changed files with 2 additions and 1 deletions
|
@ -8696,7 +8696,8 @@ void wallet2::get_outs(std::vector<std::vector<tools::wallet2::get_outs_entry>>
|
|||
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].mask == mask)
|
||||
real_out_found = true;
|
||||
if (daemon_resp.outs[i].unlocked)
|
||||
real_out_found = true;
|
||||
}
|
||||
THROW_WALLET_EXCEPTION_IF(!real_out_found, error::wallet_internal_error,
|
||||
"Daemon response did not include the requested real output");
|
||||
|
|
Loading…
Reference in a new issue