Merge pull request #7050
e855b01
Fix debug log message for block files (Alex Morcos)
This commit is contained in:
commit
f3ea48ad8b
|
@ -2579,7 +2579,7 @@ bool FindBlockPos(CValidationState &state, CDiskBlockPos &pos, unsigned int nAdd
|
||||||
|
|
||||||
if ((int)nFile != nLastBlockFile) {
|
if ((int)nFile != nLastBlockFile) {
|
||||||
if (!fKnown) {
|
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);
|
FlushBlockFile(!fKnown);
|
||||||
nLastBlockFile = nFile;
|
nLastBlockFile = nFile;
|
||||||
|
|
Loading…
Reference in New Issue