diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-11-15 19:06:56 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-11-15 21:20:08 +0000 |
commit | 072d646a452648e8ff2735f379cdbba52c9d936d (patch) | |
tree | 46c276f3a1d2755baab0ed66322cb4316b5fd89a /src/wallet/wallet2.cpp | |
parent | core: remove any tx pubkey from extra before adding one (diff) | |
download | monero-072d646a452648e8ff2735f379cdbba52c9d936d.tar.xz |
wallet2: fill in key image map when importing key images
Diffstat (limited to 'src/wallet/wallet2.cpp')
-rw-r--r-- | src/wallet/wallet2.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 02346e0eb..1afdffbc0 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -4717,6 +4717,7 @@ uint64_t wallet2::import_key_images(const std::vector<std::pair<crypto::key_imag for (size_t n = 0; n < signed_key_images.size(); ++n) { m_transfers[n].m_key_image = signed_key_images[n].first; + m_key_images[m_transfers[n].m_key_image] = n; m_transfers[n].m_key_image_known = true; } |