aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.cpp
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-02-15 21:42:30 -0500
committerluigi1111 <luigi1111w@gmail.com>2021-02-15 21:42:30 -0500
commitba76a4d26e6159df919af9ff7edb3d4d79ba9d13 (patch)
tree83f73750dee2b74690c6127a7bb76af490113bea /src/wallet/api/wallet.cpp
parent4c410a1e3a0996344dab3b74edb6d8939f719d4a (diff)
parent50ff1066f54f29acd672d6d2c990a796364c913e (diff)
downloadmonzero-core-ba76a4d26e6159df919af9ff7edb3d4d79ba9d13.tar.gz
monzero-core-ba76a4d26e6159df919af9ff7edb3d4d79ba9d13.tar.xz
monzero-core-ba76a4d26e6159df919af9ff7edb3d4d79ba9d13.zip
Merge pull request #7185
50ff106 wallet api: allow wallet to fetch all key images via api (benevanoff)
Diffstat (limited to 'src/wallet/api/wallet.cpp')
-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;