wallet2: fix m_key_image_{partial,known} in_light_wallet code

This commit is contained in:
moneromooo-monero 2017-12-20 14:52:23 +00:00
parent 1cc7451130
commit 277a5aefaa
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -5948,7 +5948,8 @@ void wallet2::light_wallet_get_unspent_outs()
add_tx_pub_key_to_extra(td.m_tx, tx_pub_key); add_tx_pub_key_to_extra(td.m_tx, tx_pub_key);
td.m_key_image = unspent_key_image; td.m_key_image = unspent_key_image;
td.m_key_image_known = !m_watch_only; td.m_key_image_known = !m_watch_only && !m_multisig;
td.m_key_image_partial = m_multisig;
td.m_amount = o.amount; td.m_amount = o.amount;
td.m_pk_index = 0; td.m_pk_index = 0;
td.m_internal_output_index = o.index; td.m_internal_output_index = o.index;