From 6dd7445938cef979579a829a2e03cb85b7ddd298 Mon Sep 17 00:00:00 2001 From: benevanoff Date: Fri, 25 Dec 2020 02:16:15 -0600 Subject: Transfer: export all key images by default --- src/libwalletqt/Wallet.cpp | 4 ++-- src/libwalletqt/Wallet.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/libwalletqt/Wallet.cpp b/src/libwalletqt/Wallet.cpp index 010bb487..67b9108a 100644 --- a/src/libwalletqt/Wallet.cpp +++ b/src/libwalletqt/Wallet.cpp @@ -489,9 +489,9 @@ quint64 Wallet::daemonBlockChainTargetHeight() const return m_daemonBlockChainTargetHeight; } -bool Wallet::exportKeyImages(const QString& path) +bool Wallet::exportKeyImages(const QString& path, bool all) { - return m_walletImpl->exportKeyImages(path.toStdString()); + return m_walletImpl->exportKeyImages(path.toStdString(), all); } bool Wallet::importKeyImages(const QString& path) diff --git a/src/libwalletqt/Wallet.h b/src/libwalletqt/Wallet.h index 0f6d1353..8b34f847 100644 --- a/src/libwalletqt/Wallet.h +++ b/src/libwalletqt/Wallet.h @@ -206,7 +206,7 @@ public: Q_INVOKABLE void refreshHeightAsync(); //! export/import key images - Q_INVOKABLE bool exportKeyImages(const QString& path); + Q_INVOKABLE bool exportKeyImages(const QString& path, bool all = false); Q_INVOKABLE bool importKeyImages(const QString& path); //! refreshes the wallet -- cgit v1.2.3