diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index 27d88d9b5..80d23b4b7 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -535,7 +535,7 @@ int32_t komodo_is_special(int32_t height,uint8_t pubkey33[33]) komodo_chosennotary(¬aryid,height,pubkey33); if ( height >= 34000 && notaryid >= 0 ) { - for (i=1; i<64; i++) + for (i=1; i<60; i++) { if ( komodo_minerid(height-i) == notaryid ) { diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index 51eb5f02e..38aeb1847 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -480,7 +480,7 @@ void komodo_passport_iteration() else refid = komodo_baseid(ASSETCHAINS_SYMBOL)+1; // illegal base -> baseid.-1 -> 0 //printf("PASSPORT %s refid.%d\n",ASSETCHAINS_SYMBOL,refid); for (baseid=0; baseid<=32; baseid++) - {break; + { sp = 0; isrealtime = 0; base = (char *)CURRENCIES[baseid]; diff --git a/src/pow.cpp b/src/pow.cpp index 8d97786e0..3b64ce72c 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -135,8 +135,8 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in special2 = komodo_is_special(height,pubkey33); if ( special2 == -2 ) printf("height.%d special2.%d special.%d\n",height,special2,special); - if ( special2 == -2 || (height < 70000 && (special != 0 || special2 > 0)) || - (height >= 70000 && special2 > 0) ) + if ( special2 == -2 || (height < 80000 && (special != 0 || special2 > 0)) || + (height >= 80000 && special2 > 0) ) { bnTarget.SetCompact(KOMODO_MINDIFF_NBITS,&fNegative,&fOverflow); flag = 1;