mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Introduce BlockMap type for mapBlockIndex
This commit is contained in:
parent
a0dbe433bd
commit
145d5be896
9 changed files with 27 additions and 26 deletions
|
|
@ -1447,7 +1447,7 @@ Value listsinceblock(const Array& params, bool fHelp)
|
|||
uint256 blockId = 0;
|
||||
|
||||
blockId.SetHex(params[0].get_str());
|
||||
std::map<uint256, CBlockIndex*>::iterator it = mapBlockIndex.find(blockId);
|
||||
BlockMap::iterator it = mapBlockIndex.find(blockId);
|
||||
if (it != mapBlockIndex.end())
|
||||
pindex = it->second;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue