aboutsummaryrefslogtreecommitdiff
path: root/src/txdb-bdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/txdb-bdb.h')
-rw-r--r--src/txdb-bdb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/txdb-bdb.h b/src/txdb-bdb.h
index d61e95bac2..3e8d40c274 100644
--- a/src/txdb-bdb.h
+++ b/src/txdb-bdb.h
@@ -11,7 +11,7 @@
class CCoinsDB : public CDB
{
public:
- CCoinsDB(const char* pszMode="r+") : CDB("coins.dat", pszMode) { }
+ CCoinsDB() : CDB("coins.dat", "cr+") { }
private:
CCoinsDB(const CCoinsDB&);
void operator=(const CCoinsDB&);
@@ -43,7 +43,7 @@ public:
class CBlockTreeDB : public CDB
{
public:
- CBlockTreeDB(const char* pszMode="r+") : CDB("blktree.dat", pszMode) { }
+ CBlockTreeDB() : CDB("blktree.dat", "cr+") { }
private:
CBlockTreeDB(const CBlockTreeDB&);
void operator=(const CBlockTreeDB&);