checkpoints.cpp depends on main, it can use mapBlockIndex directly

This commit is contained in:
Pieter Wuille
2014-09-04 02:01:10 +02:00
parent 961c4a04c2
commit a0dbe433bd
3 changed files with 5 additions and 5 deletions

View File

@@ -146,7 +146,7 @@ namespace Checkpoints {
return checkpoints.rbegin()->first;
}
CBlockIndex* GetLastCheckpoint(const std::map<uint256, CBlockIndex*>& mapBlockIndex)
CBlockIndex* GetLastCheckpoint()
{
if (!fEnabled)
return NULL;