Skip to content

Commit

Permalink
Trivial: fix wrong function name in logs
Browse files Browse the repository at this point in the history
  • Loading branch information
random-zebra committed Jan 20, 2022
1 parent 5d84c6c commit eca2977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/txdb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ bool CBlockTreeDB::LoadBlockIndexGuts(std::function<CBlockIndex*(const uint256&)

if (!Params().GetConsensus().NetworkUpgradeActive(pindexNew->nHeight, Consensus::UPGRADE_POS)) {
if (!CheckProofOfWork(pindexNew->GetBlockHash(), pindexNew->nBits))
return error("LoadBlockIndex() : CheckProofOfWork failed: %s", pindexNew->ToString());
return error("%s : CheckProofOfWork failed: %s", __func__, pindexNew->ToString());
}

pcursor->Next();
Expand Down

0 comments on commit eca2977

Please sign in to comment.