diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-08-22 22:55:24 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-08-22 22:55:24 +0200 |
commit | 79cdedb90c0e6655e11f3e006052db22e4c5f106 (patch) | |
tree | 3fe4c123cb0fe6cc2190439e237eeaf6d0145da3 /src/wallet | |
parent | Merge pull request #968 (diff) | |
parent | wallet: store key images after importing them (diff) | |
download | monero-79cdedb90c0e6655e11f3e006052db22e4c5f106.tar.xz |
Merge pull request #970
25f529a wallet: store key images after importing them (moneromooo-monero)
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/wallet2.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 6a2bfb24b..8502353ed 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -3503,6 +3503,9 @@ uint64_t wallet2::import_key_images(const std::vector<std::pair<crypto::key_imag req.key_images.push_back(epee::string_tools::pod_to_hex(key_image)); } + for (size_t n = 0; n < signed_key_images.size(); ++n) + m_transfers[n].m_key_image = signed_key_images[n].first; + m_daemon_rpc_mutex.lock(); bool r = epee::net_utils::invoke_http_json_remote_command2(m_daemon_address + "/is_key_image_spent", req, daemon_resp, m_http_client, 200000); m_daemon_rpc_mutex.unlock(); |