diff --git a/src/pow.cpp b/src/pow.cpp index 510ed59de..434cf6d0b 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -164,9 +164,7 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in flag = 1; else if ( height >= 108000 && special2 > 0 ) flag = ((height % KOMODO_ELECTION_GAP) > 64 || (height % KOMODO_ELECTION_GAP) == 0); - else if ( special2 < 0 ) - flag = 0; - if ( flag != 0 )//|| height == 790833 ) + if ( flag != 0 && special2 >= 0 )//|| height == 790833 ) bnTarget.SetCompact(KOMODO_MINDIFF_NBITS,&fNegative,&fOverflow); } }