Skip to content

Commit

Permalink
Merge #8539: CDB: fix debug output
Browse files Browse the repository at this point in the history
fab2e26 CDB: fix debug output (crowning-)
  • Loading branch information
laanwj committed Aug 22, 2016
2 parents 37e77c1 + fab2e26 commit 41d8e78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/db.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ CDB::CDB(const std::string& strFilename, const char* pszMode, bool fFlushOnClose
pdb = NULL;
--bitdb.mapFileUseCount[strFile];
strFile = "";
throw runtime_error(strprintf("CDB: Error %d, can't open database %s", ret, strFile));
throw runtime_error(strprintf("CDB: Error %d, can't open database %s", ret, strFilename));
}

if (fCreate && !Exists(string("version"))) {
Expand Down

0 comments on commit 41d8e78

Please sign in to comment.