mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-28 19:32:56 +02:00
wallet: make BackupWallet() const
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user