mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-08 03:33:32 +01:00
refactor: Pass wallet database into CWallet::Create
No changes in behavior
This commit is contained in:
@@ -359,7 +359,6 @@ void BerkeleyDatabase::Open(const char* pszMode)
|
||||
if (ret != 0) {
|
||||
throw std::runtime_error(strprintf("BerkeleyDatabase: Error %d, can't open database %s", ret, strFile));
|
||||
}
|
||||
m_file_path = (env->Directory() / strFile).string();
|
||||
|
||||
// Call CheckUniqueFileid on the containing BDB environment to
|
||||
// avoid BDB data consistency bugs that happen when different data
|
||||
|
||||
Reference in New Issue
Block a user