Skip to content

Commit 69d2e9b

Browse files
committed
wallet: Make IsDummy private in CWalletDBWrapper
This is only for use in the low-level functions, and CDB is already a friend class.
1 parent 3323281 commit 69d2e9b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/wallet/db.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,16 +120,16 @@ class CWalletDBWrapper
120120
*/
121121
void Flush(bool shutdown);
122122

123+
private:
124+
/** BerkeleyDB specific */
125+
CDBEnv *env;
126+
std::string strFile;
127+
123128
/** Return whether this database handle is a dummy for testing.
124129
* Only to be used at a low level, application should ideally not care
125130
* about this.
126131
*/
127132
bool IsDummy() { return env == nullptr; }
128-
129-
private:
130-
/** BerkeleyDB specific */
131-
CDBEnv *env;
132-
std::string strFile;
133133
};
134134

135135

0 commit comments

Comments
 (0)