From ce6f853d4f942f88ec7d7e48c44f95f4d25f3f19 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 30 Nov 2016 08:39:12 -0300 Subject: [PATCH] test --- src/pow.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/pow.cpp b/src/pow.cpp index 644a3f59d..0a9e5ee28 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -128,13 +128,12 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in } if ( nonz == 0 ) return(true); // will come back via different path with pubkey set - if ( notaryid >= 0 && ((height % KOMODO_ELECTION_GAP) == 0 || (height % KOMODO_ELECTION_GAP) > 64) ) + if ( notaryid >= 0 && (height <= 90000 || (height % KOMODO_ELECTION_GAP) > 64) ) { special2 = komodo_is_special(height,pubkey33); //if ( special2 == -2 ) // printf("height.%d special2.%d special.%d\n",height,special2,special); - if ( (height % KOMODO_ELECTION_GAP) == 0 || (height < 80000 && (special != 0 || special2 > 0)) || - (height >= 80000 && special2 > 0) ) + if ( height < 90000 || (height % KOMODO_ELECTION_GAP) == 0 || (height < 80000 && (special != 0 || special2 > 0)) || (height >= 80000 && special2 > 0) ) { bnTarget.SetCompact(KOMODO_MINDIFF_NBITS,&fNegative,&fOverflow); flag = 1;