wallet: make BackupWallet() const

This commit is contained in:
Karl-Johan Alm committed 2020-03-02 17:27:35 +09:00
1 parent df3a818d2a
commit 57c569e4d9
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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);
}
+1 -1
View File
@@ -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;