Test
This commit is contained in:
@@ -3982,7 +3982,7 @@ CBlockIndex *komodo_ensure(CBlock *pblock,uint256 hash)
|
|||||||
pindex = new CBlockIndex();
|
pindex = new CBlockIndex();
|
||||||
if (!pindex)
|
if (!pindex)
|
||||||
throw runtime_error("komodo_ensure: new CBlockIndex failed");
|
throw runtime_error("komodo_ensure: new CBlockIndex failed");
|
||||||
mi = mapBlockIndex.insert(make_pair(hash, pindexN)).first;
|
mi = mapBlockIndex.insert(make_pair(hash, pindex)).first;
|
||||||
pindex->phashBlock = &((*mi).first);
|
pindex->phashBlock = &((*mi).first);
|
||||||
}
|
}
|
||||||
BlockMap::iterator miSelf = mapBlockIndex.find(hash);
|
BlockMap::iterator miSelf = mapBlockIndex.find(hash);
|
||||||
|
|||||||
Reference in New Issue
Block a user