diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2014-09-04 02:01:10 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2014-09-04 02:01:10 +0200 |
commit | a0dbe433bdb3f22be639fbb675c371277fba6d80 (patch) | |
tree | 07510ed5abf653fa6562bc6eb0276455f2419a69 /src/checkpoints.cpp | |
parent | 961c4a04c25237285fb9a694f8918556c690bcd6 (diff) |
checkpoints.cpp depends on main, it can use mapBlockIndex directly
Diffstat (limited to 'src/checkpoints.cpp')
-rw-r--r-- | src/checkpoints.cpp | 2 |
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; |