aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorKarl-Johan Alm <karljohan-alm@garage.co.jp>2020-03-02 17:23:34 +0900
committerKarl-Johan Alm <karljohan-alm@garage.co.jp>2020-03-02 17:27:35 +0900
commit57c569e4d9779e2263848770e0ba7eab3054a1bf (patch)
tree16046b1f7f722281e7fe615d93c8b30c8afc9567 /src/wallet
parentdf3a818d2a9fe48e656a8ad2da18fab8a1bfd6e3 (diff)
wallet: make BackupWallet() const
Diffstat (limited to 'src/wallet')
-rw-r--r--src/wallet/wallet.cpp2
-rw-r--r--src/wallet/wallet.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp
index 94bcd4ba68..9d2e5598e8 100644
--- a/src/wallet/wallet.cpp
+++ b/src/wallet/wallet.cpp
@@ -4004,7 +4004,7 @@ void CWallet::postInitProcess()
chain().requestMempoolTransactions(*this);
}
-bool CWallet::BackupWallet(const std::string& strDest)
+bool CWallet::BackupWallet(const std::string& strDest) const
{
return database->Backup(strDest);
}
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index 158482dc44..864e180adb 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -1098,7 +1098,7 @@ public:
*/
void postInitProcess();
- bool BackupWallet(const std::string& strDest);
+ bool BackupWallet(const std::string& strDest) const;
/* Returns true if HD is enabled */
bool IsHDEnabled() const;