aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/db.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wallet/db.h')
-rw-r--r--src/wallet/db.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/wallet/db.h b/src/wallet/db.h
index 014c6db6c5..a0719820ac 100644
--- a/src/wallet/db.h
+++ b/src/wallet/db.h
@@ -120,16 +120,16 @@ public:
*/
void Flush(bool shutdown);
+private:
+ /** BerkeleyDB specific */
+ CDBEnv *env;
+ std::string strFile;
+
/** Return whether this database handle is a dummy for testing.
* Only to be used at a low level, application should ideally not care
* about this.
*/
bool IsDummy() { return env == nullptr; }
-
-private:
- /** BerkeleyDB specific */
- CDBEnv *env;
- std::string strFile;
};