aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.cpp
diff options
context:
space:
mode:
authorbenevanoff <benjaminevanoff99@gmail.com>2020-12-25 00:40:50 -0600
committerbenevanoff <benjaminevanoff99@gmail.com>2020-12-25 00:40:50 -0600
commit50ff1066f54f29acd672d6d2c990a796364c913e (patch)
tree27769efbb722f2a641b74f775b9e9da10faa8578 /src/wallet/api/wallet.cpp
parentMerge pull request #7151 (diff)
downloadmonero-50ff1066f54f29acd672d6d2c990a796364c913e.tar.xz
wallet api: allow wallet to fetch all key images via api
Diffstat (limited to '')
-rw-r--r--src/wallet/api/wallet.cpp4
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;