diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2013-04-05 18:15:23 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2013-04-05 18:15:23 -0700 |
commit | 484af4e2d164fc8acef60d09a19d51170e57fe8d (patch) | |
tree | d405bf3636ccc26b3858c2e5faec8298da209556 /src/walletdb.cpp | |
parent | c19c1d00d97d6e43e3a7081b407736f00363dc28 (diff) | |
parent | b001c871260420c6638d20c1d5039007e235d66c (diff) |
Merge pull request #2456 from Diapolo/code-layout
small indentation, space, formatting fixes (no code changes)
Diffstat (limited to 'src/walletdb.cpp')
-rw-r--r-- | src/walletdb.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/walletdb.cpp b/src/walletdb.cpp index abaf5a0fd1..841553ea6a 100644 --- a/src/walletdb.cpp +++ b/src/walletdb.cpp @@ -622,11 +622,11 @@ bool CWalletDB::Recover(CDBEnv& dbenv, std::string filename, bool fOnlyKeys) bool fSuccess = allOK; Db* pdbCopy = new Db(&dbenv.dbenv, 0); - int ret = pdbCopy->open(NULL, // Txn pointer + int ret = pdbCopy->open(NULL, // Txn pointer filename.c_str(), // Filename - "main", // Logical db name - DB_BTREE, // Database type - DB_CREATE, // Flags + "main", // Logical db name + DB_BTREE, // Database type + DB_CREATE, // Flags 0); if (ret > 0) { |