This commit is contained in:
jl777
2018-04-20 12:17:02 +03:00
parent 0f102ea7e3
commit 519578c9c9

View File

@@ -4112,7 +4112,7 @@ CBlockIndex *komodo_ensure(CBlock *pblock,uint256 hash)
{
if ( (pindex= miSelf->second) == 0 ) // create pindex so first Accept block doesnt fail
{
pindex = AddToBlockIndex(*pblock);
miSelf->second = AddToBlockIndex(*pblock);
fprintf(stderr,"Block header %s is already known, but without pindex -> ensured %p\n",hash.ToString().c_str(),pindex);
}
}