This commit is contained in:
jl777
2018-04-20 11:34:37 +03:00
parent 9850dffd80
commit 7732dbc26b

View File

@@ -3544,7 +3544,8 @@ CBlockIndex* AddToBlockIndex(const CBlockHeader& block)
if (it != mapBlockIndex.end())
{
fprintf(stderr,"addtoblockindex already there %p\n",it->second);
return it->second;
if ( ASSETCHAINS_STAKED == 0 || it->second != 0 )
return it->second;
}
// Construct new block index object
CBlockIndex* pindexNew = new CBlockIndex(block);