diff options
author | benevanoff <benjaminevanoff99@gmail.com> | 2020-12-25 00:40:50 -0600 |
---|---|---|
committer | benevanoff <benjaminevanoff99@gmail.com> | 2020-12-25 00:40:50 -0600 |
commit | 50ff1066f54f29acd672d6d2c990a796364c913e (patch) | |
tree | 27769efbb722f2a641b74f775b9e9da10faa8578 /src/wallet/api/wallet.cpp | |
parent | Merge pull request #7151 (diff) | |
download | monero-50ff1066f54f29acd672d6d2c990a796364c913e.tar.xz |
wallet api: allow wallet to fetch all key images via api
Diffstat (limited to '')
-rw-r--r-- | src/wallet/api/wallet.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp index 9acc8484c..4f923ce54 100644 --- a/src/wallet/api/wallet.cpp +++ b/src/wallet/api/wallet.cpp @@ -1168,7 +1168,7 @@ bool WalletImpl::submitTransaction(const string &fileName) { return true; } -bool WalletImpl::exportKeyImages(const string &filename) +bool WalletImpl::exportKeyImages(const string &filename, bool all) { if (m_wallet->watch_only()) { @@ -1178,7 +1178,7 @@ bool WalletImpl::exportKeyImages(const string &filename) try { - if (!m_wallet->export_key_images(filename)) + if (!m_wallet->export_key_images(filename), all) { setStatusError(tr("failed to save file ") + filename); return false; |