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;
97
97
**/
98
98
class BerkeleyDatabase : public WalletDatabase
99
99
{
100
- friend class BerkeleyBatch ;
101
100
public:
102
101
/* * Create dummy DB handle */
103
102
BerkeleyDatabase () : WalletDatabase(), env(nullptr )
@@ -163,11 +162,12 @@ class BerkeleyDatabase : public WalletDatabase
163
162
/* * Database pointer. This is initialized lazily and reset during flushes, so it can be null. */
164
163
std::unique_ptr<Db> m_db;
165
164
165
+ std::string strFile;
166
+
166
167
/* * Make a BerkeleyBatch connected to this database */
167
168
std::unique_ptr<DatabaseBatch> MakeBatch (const char * mode = " r+" , bool flush_on_close = true ) override ;
168
169
169
170
private:
170
- std::string strFile;
171
171
172
172
/* * Return whether this database handle is a dummy for testing.
173
173
* 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