aboutsummaryrefslogtreecommitdiff
path: root/src/checkpoints.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2014-09-04 02:02:44 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2014-09-04 02:04:51 +0200
commit145d5be896db4e8fda17039bed26100e38fae2f0 (patch)
tree82c0a250144990617038c84d10e71b6fa905ecc5 /src/checkpoints.cpp
parenta0dbe433bdb3f22be639fbb675c371277fba6d80 (diff)
downloadbitcoin-145d5be896db4e8fda17039bed26100e38fae2f0.tar.xz
Introduce BlockMap type for mapBlockIndex
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 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;
}