Apply suggestions from code review

Co-authored-by: Byron Hambly <byron@hambly.dev>
This commit is contained in:
Glenn Willen 2023-01-04 14:55:06 -08:00
parent 29345e9e12
commit b9b7f6543a
3 changed files with 4 additions and 4 deletions

View file

@ -4141,7 +4141,7 @@ bool BlockManager::LoadBlockIndex(
if (fTrimHeaders) {
int max_height = 0;
if (!blocktree.WalkBlockIndexGutsForMaxHeight(&max_height)) {
LogPrintf("LoadBlockIndex: Somehow failed to WalkBlockIndexGutsForMaxHeight.\n");
LogPrintf("LoadBlockIndex: Failed to WalkBlockIndexGutsForMaxHeight.\n");
return false;
}