aboutsummaryrefslogtreecommitdiff
path: root/src/txdb-bdb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/txdb-bdb.cpp')
-rw-r--r--src/txdb-bdb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txdb-bdb.cpp b/src/txdb-bdb.cpp
index 5e46096646..8954b8b30a 100644
--- a/src/txdb-bdb.cpp
+++ b/src/txdb-bdb.cpp
@@ -64,7 +64,7 @@ bool CBlockTreeDB::ReadLastBlockFile(int &nFile) {
return Read('l', nFile);
}
-CCoinsViewDB::CCoinsViewDB() : db("cr+") {}
+CCoinsViewDB::CCoinsViewDB() : db() {}
bool CCoinsViewDB::GetCoins(uint256 txid, CCoins &coins) { return db.ReadCoins(txid, coins); }
bool CCoinsViewDB::SetCoins(uint256 txid, const CCoins &coins) { return db.WriteCoins(txid, coins); }
bool CCoinsViewDB::HaveCoins(uint256 txid) { return db.HaveCoins(txid); }