File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,6 @@ class BerkeleyBatch;
9797 **/
9898class BerkeleyDatabase : public WalletDatabase
9999{
100- friend class BerkeleyBatch ;
101100public:
102101 /* * Create dummy DB handle */
103102 BerkeleyDatabase () : WalletDatabase(), env(nullptr )
@@ -163,11 +162,12 @@ class BerkeleyDatabase : public WalletDatabase
163162 /* * Database pointer. This is initialized lazily and reset during flushes, so it can be null. */
164163 std::unique_ptr<Db> m_db;
165164
165+ std::string strFile;
166+
166167 /* * Make a BerkeleyBatch connected to this database */
167168 std::unique_ptr<DatabaseBatch> MakeBatch (const char * mode = " r+" , bool flush_on_close = true ) override ;
168169
169170private:
170- std::string strFile;
171171
172172 /* * Return whether this database handle is a dummy for testing.
173173 * Only to be used at a low level, application should ideally not care
You can’t perform that action at this time.
0 commit comments