0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-03 09:56:38 -05:00

wallet: make BackupWallet() const

This commit is contained in:
Karl-Johan Alm 2020-03-02 17:23:34 +09:00
parent df3a818d2a
commit 57c569e4d9
No known key found for this signature in database
GPG key ID: 57AF762DB3353322
2 changed files with 2 additions and 2 deletions

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);
}

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;