Syntax
This commit is contained in:
@@ -4138,7 +4138,7 @@ CBlockIndex *komodo_ensure(CBlock *pblock,uint256 hash)
|
|||||||
miSelf->second = AddToBlockIndex(*pblock);
|
miSelf->second = AddToBlockIndex(*pblock);
|
||||||
//fprintf(stderr,"Block header %s is already known, but without pindex -> ensured %p\n",hash.ToString().c_str(),miSelf->second);
|
//fprintf(stderr,"Block header %s is already known, but without pindex -> ensured %p\n",hash.ToString().c_str(),miSelf->second);
|
||||||
}
|
}
|
||||||
if ( hash != chainparams.GetConsensus().hashGenesisBlock )
|
/*if ( hash != chainparams.GetConsensus().hashGenesisBlock )
|
||||||
{
|
{
|
||||||
miSelf = mapBlockIndex.find(pblock->hashPrevBlock);
|
miSelf = mapBlockIndex.find(pblock->hashPrevBlock);
|
||||||
if ( miSelf == mapBlockIndex.end() )
|
if ( miSelf == mapBlockIndex.end() )
|
||||||
@@ -4146,7 +4146,7 @@ CBlockIndex *komodo_ensure(CBlock *pblock,uint256 hash)
|
|||||||
miSelf->second = InsertBlockIndex(pblock->hashPrevBlock);
|
miSelf->second = InsertBlockIndex(pblock->hashPrevBlock);
|
||||||
fprintf(stderr,"autocreate previndex %s\n",pblock->hashPrevBlock.ToString().c_str());
|
fprintf(stderr,"autocreate previndex %s\n",pblock->hashPrevBlock.ToString().c_str());
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user