diff options
| author | Pieter Wuille <[email protected]> | 2014-09-04 02:02:44 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2014-09-04 02:04:51 +0200 |
| commit | 145d5be896db4e8fda17039bed26100e38fae2f0 (patch) | |
| tree | 82c0a250144990617038c84d10e71b6fa905ecc5 /src/checkpoints.cpp | |
| parent | checkpoints.cpp depends on main, it can use mapBlockIndex directly (diff) | |
| download | discoin-145d5be896db4e8fda17039bed26100e38fae2f0.tar.xz discoin-145d5be896db4e8fda17039bed26100e38fae2f0.zip | |
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 343d5251f..c41deea7c 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; } |