diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-07-02 19:41:41 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-07-02 19:42:28 +0000 |
commit | 8be5fea1dedfa844afca365d11136e7cc95d5e31 (patch) | |
tree | c3e0016d9eea2efb52cced856891700dcdd4e929 /src/wallet/wallet2.cpp | |
parent | Merge pull request #5641 (diff) | |
download | monero-8be5fea1dedfa844afca365d11136e7cc95d5e31.tar.xz |
simplewallet: optional all flag to export_outputs/export_key_images
Diffstat (limited to '')
-rw-r--r-- | src/wallet/wallet2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 8f3f30da1..b3e679093 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -11560,10 +11560,10 @@ crypto::public_key wallet2::get_tx_pub_key_from_received_outs(const tools::walle return tx_pub_key; } -bool wallet2::export_key_images(const std::string &filename) const +bool wallet2::export_key_images(const std::string &filename, bool all) const { PERF_TIMER(export_key_images); - std::pair<size_t, std::vector<std::pair<crypto::key_image, crypto::signature>>> ski = export_key_images(); + std::pair<size_t, std::vector<std::pair<crypto::key_image, crypto::signature>>> ski = export_key_images(all); std::string magic(KEY_IMAGE_EXPORT_FILE_MAGIC, strlen(KEY_IMAGE_EXPORT_FILE_MAGIC)); const cryptonote::account_public_address &keys = get_account().get_keys().m_account_address; const uint32_t offset = ski.first; |