Skip to content

Commit 57c569e

Browse files
committed
wallet: make BackupWallet() const
1 parent df3a818 commit 57c569e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/wallet/wallet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4004,7 +4004,7 @@ void CWallet::postInitProcess()
40044004
chain().requestMempoolTransactions(*this);
40054005
}
40064006

4007-
bool CWallet::BackupWallet(const std::string& strDest)
4007+
bool CWallet::BackupWallet(const std::string& strDest) const
40084008
{
40094009
return database->Backup(strDest);
40104010
}

src/wallet/wallet.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1098,7 +1098,7 @@ class CWallet final : public WalletStorage, private interfaces::Chain::Notificat
10981098
*/
10991099
void postInitProcess();
11001100

1101-
bool BackupWallet(const std::string& strDest);
1101+
bool BackupWallet(const std::string& strDest) const;
11021102

11031103
/* Returns true if HD is enabled */
11041104
bool IsHDEnabled() const;

0 commit comments

Comments
 (0)