Merge pull request #7050

e855b01 Fix debug log message for block files (Alex Morcos)
pull/262/head
Gregory Maxwell 9 years ago
commit f3ea48ad8b
No known key found for this signature in database
GPG Key ID: EAB5AF94D9E9ABE7

@ -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