ok
This commit is contained in:
@@ -1867,14 +1867,8 @@ int32_t komodo_checkPOW(int32_t slowflag,CBlock *pblock,int32_t height)
|
|||||||
return(-1);
|
return(-1);
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
<<<<<<< HEAD
|
|
||||||
// I think this means the block is valid PoW. We need to set the pindex->segid here.
|
|
||||||
failed = 0;
|
failed = 0;
|
||||||
CBlockIndex *pindex;
|
CBlockIndex *pindex;
|
||||||
=======
|
|
||||||
failed = 0;
|
|
||||||
CBlockIndex *pindex;
|
|
||||||
>>>>>>> new_staker
|
|
||||||
BlockMap::const_iterator it = mapBlockIndex.find(pblock->GetHash());
|
BlockMap::const_iterator it = mapBlockIndex.find(pblock->GetHash());
|
||||||
pindex = it != mapBlockIndex.end() ? it->second : NULL;
|
pindex = it != mapBlockIndex.end() ? it->second : NULL;
|
||||||
if ( pindex != 0 && pindex->segid == -2 ) {
|
if ( pindex != 0 && pindex->segid == -2 ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user