diff options
| author | crowning- <[email protected]> | 2016-08-18 16:52:38 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2016-08-18 16:52:38 +0200 |
| commit | fab2e26d2033ca3c7a24f6a0ad6529fceda52ebc (patch) | |
| tree | 5a5d40afec5d84a4b2dc48ecaeeafa0067c34257 /src/wallet/db.cpp | |
| parent | Merge #8453: Bring secp256k1 subtree up to date with master (diff) | |
| download | discoin-fab2e26d2033ca3c7a24f6a0ad6529fceda52ebc.tar.xz discoin-fab2e26d2033ca3c7a24f6a0ad6529fceda52ebc.zip | |
CDB: fix debug output
It doesn't really help to clear a variable before printing it to the debug log.
Diffstat (limited to 'src/wallet/db.cpp')
| -rw-r--r-- | src/wallet/db.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/db.cpp b/src/wallet/db.cpp index c906785e9..cfd007ca1 100644 --- a/src/wallet/db.cpp +++ b/src/wallet/db.cpp @@ -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"))) { |