diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2020-08-04 20:45:28 -0400 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2020-09-03 12:24:32 -0400 |
commit | 8b5e7297c02f3100a9cb27bfe206e3fc617ec173 (patch) | |
tree | d77b54fad59498c100511fe1565d9b06c55fe444 /src/wallet/bdb.cpp | |
parent | 3c815cfe54087fd139169161d2fd175e99840e6a (diff) | |
download | bitcoin-8b5e7297c02f3100a9cb27bfe206e3fc617ec173.tar.xz |
refactor: Pass wallet database into CWallet::Create
No changes in behavior
Diffstat (limited to 'src/wallet/bdb.cpp')
-rw-r--r-- | src/wallet/bdb.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/wallet/bdb.cpp b/src/wallet/bdb.cpp index 8f8652bb0b..fbb3d2cac5 100644 --- a/src/wallet/bdb.cpp +++ b/src/wallet/bdb.cpp @@ -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 |