diff options
| author | Gregory Maxwell <[email protected]> | 2015-11-18 00:17:44 -0800 |
|---|---|---|
| committer | Gregory Maxwell <[email protected]> | 2015-11-18 00:18:03 -0800 |
| commit | f3ea48ad8b85125b786fb31584107e262abb7985 (patch) | |
| tree | c21affcfa0880034362adeaa3d7b54704eda2a1c /src/main.cpp | |
| parent | Merge pull request #7020 (diff) | |
| parent | Fix debug log message for block files (diff) | |
| download | discoin-f3ea48ad8b85125b786fb31584107e262abb7985.tar.xz discoin-f3ea48ad8b85125b786fb31584107e262abb7985.zip | |
Merge pull request #7050
e855b01 Fix debug log message for block files (Alex Morcos)
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index a1f326fb1..86bf95743 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2579,7 +2579,7 @@ bool FindBlockPos(CValidationState &state, CDiskBlockPos &pos, unsigned int nAdd if ((int)nFile != nLastBlockFile) { if (!fKnown) { - LogPrintf("Leaving block file %i: %s\n", nFile, vinfoBlockFile[nFile].ToString()); + LogPrintf("Leaving block file %i: %s\n", nLastBlockFile, vinfoBlockFile[nLastBlockFile].ToString()); } FlushBlockFile(!fKnown); nLastBlockFile = nFile; |