aboutsummaryrefslogtreecommitdiff
path: root/src/checkpoints.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2014-09-04 02:01:10 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2014-09-04 02:01:10 +0200
commita0dbe433bdb3f22be639fbb675c371277fba6d80 (patch)
tree07510ed5abf653fa6562bc6eb0276455f2419a69 /src/checkpoints.cpp
parent961c4a04c25237285fb9a694f8918556c690bcd6 (diff)
downloadbitcoin-a0dbe433bdb3f22be639fbb675c371277fba6d80.tar.xz
checkpoints.cpp depends on main, it can use mapBlockIndex directly
Diffstat (limited to 'src/checkpoints.cpp')
-rw-r--r--src/checkpoints.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/checkpoints.cpp b/src/checkpoints.cpp
index 717f0b90fe..343d5251f5 100644
--- a/src/checkpoints.cpp
+++ b/src/checkpoints.cpp
@@ -146,7 +146,7 @@ namespace Checkpoints {
return checkpoints.rbegin()->first;
}
- CBlockIndex* GetLastCheckpoint(const std::map<uint256, CBlockIndex*>& mapBlockIndex)
+ CBlockIndex* GetLastCheckpoint()
{
if (!fEnabled)
return NULL;