Browse Source

Merge pull request #7050

e855b01 Fix debug log message for block files (Alex Morcos)
0.13
Gregory Maxwell 9 years ago
parent
commit
f3ea48ad8b
No known key found for this signature in database
GPG Key ID: EAB5AF94D9E9ABE7
  1. 2
      src/main.cpp

2
src/main.cpp

@ -2579,7 +2579,7 @@ bool FindBlockPos(CValidationState &state, CDiskBlockPos &pos, unsigned int nAdd @@ -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;

Loading…
Cancel
Save