Fix compile issue
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user