Fix compile issue

This commit is contained in:
Duke
2022-12-18 13:51:50 -08:00
parent ae64eb2392
commit da5ae526e7

View File

@@ -2469,7 +2469,6 @@ void CheckForkWarningConditions()
if (!fLargeWorkForkFound && pindexBestForkBase) if (!fLargeWorkForkFound && pindexBestForkBase)
{ {
std::string warning = std::string("'Warning: Large-work fork detected, forking after block ") + pindexBestForkBase->phashBlock->ToString() + std::string("'"); std::string warning = std::string("'Warning: Large-work fork detected, forking after block ") + pindexBestForkBase->phashBlock->ToString() + std::string("'");
LogPrintf(warning);
LogPrintf("%s: %s\n", __func__, warning.c_str()); LogPrintf("%s: %s\n", __func__, warning.c_str());
} }
if (pindexBestForkTip && pindexBestForkBase) if (pindexBestForkTip && pindexBestForkBase)