aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-01-10 11:48:42 +0100
committerRiccardo Spagni <ric@spagni.net>2018-01-10 11:48:42 +0100
commit420a803ff8f3636a3f035d434e5b89d30b1eedda (patch)
tree66c777dd5d463e99fe2b7f7ae2cc0478f4149479
parentMerge pull request #2972 (diff)
parentwallet2: fix m_key_image_{partial,known} in_light_wallet code (diff)
downloadmonero-420a803ff8f3636a3f035d434e5b89d30b1eedda.tar.xz
Merge pull request #2973
277a5aef wallet2: fix m_key_image_{partial,known} in_light_wallet code (moneromooo-monero)
-rw-r--r--src/wallet/wallet2.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp
index c4f8f3457..b8fa84901 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -6159,7 +6159,8 @@ void wallet2::light_wallet_get_unspent_outs()
add_tx_pub_key_to_extra(td.m_tx, tx_pub_key);
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_pk_index = 0;
td.m_internal_output_index = o.index;