diff --git a/src/wallet/db.h b/src/wallet/db.h index 0c2c139d8..790ae5041 100644 --- a/src/wallet/db.h +++ b/src/wallet/db.h @@ -25,9 +25,6 @@ class COutPoint; extern unsigned int nWalletDBUpdated; -void ThreadFlushWalletDB(const std::string& strWalletFile); - - class CDBEnv { private: diff --git a/src/wallet/walletdb.h b/src/wallet/walletdb.h index a1c38b9d3..e5f64ffaa 100644 --- a/src/wallet/walletdb.h +++ b/src/wallet/walletdb.h @@ -138,5 +138,6 @@ private: }; bool BackupWallet(const CWallet& wallet, const std::string& strDest); +void ThreadFlushWalletDB(const std::string& strFile); #endif // BITCOIN_WALLETDB_H