mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Fix debug log message for block files
This commit is contained in:
parent
e8df8a5077
commit
e855b0152f
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue