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

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

No files matched your search

+1 -1
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;