diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2014-09-04 02:02:44 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2014-09-04 02:04:51 +0200 |
commit | 145d5be896db4e8fda17039bed26100e38fae2f0 (patch) | |
tree | 82c0a250144990617038c84d10e71b6fa905ecc5 /src/checkpoints.cpp | |
parent | a0dbe433bdb3f22be639fbb675c371277fba6d80 (diff) |
Introduce BlockMap type for mapBlockIndex
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 343d5251f5..c41deea7ce 100644 --- a/src/checkpoints.cpp +++ b/src/checkpoints.cpp @@ -156,7 +156,7 @@ namespace Checkpoints { BOOST_REVERSE_FOREACH(const MapCheckpoints::value_type& i, checkpoints) { const uint256& hash = i.second; - std::map<uint256, CBlockIndex*>::const_iterator t = mapBlockIndex.find(hash); + BlockMap::const_iterator t = mapBlockIndex.find(hash); if (t != mapBlockIndex.end()) return t->second; } |