mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
wallet2: fill in key image map when importing key images
This commit is contained in:
parent
23d80b15fd
commit
072d646a45
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
for (size_t n = 0; n < signed_key_images.size(); ++n)
|
||||||
{
|
{
|
||||||
m_transfers[n].m_key_image = signed_key_images[n].first;
|
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;
|
m_transfers[n].m_key_image_known = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue