diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index 7d14c0fc6..37eca1d1d 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -531,11 +531,14 @@ int8_t komodo_minerid(int32_t height) int32_t komodo_is_special(int32_t height,uint8_t pubkey33[33]) { - int32_t i,notaryid,minerid; + int32_t i,notaryid,minerid,limit; komodo_chosennotary(¬aryid,height,pubkey33); if ( height >= 34000 && notaryid >= 0 ) { - for (i=1; i<=65; i++) + if ( height < 79676 ) + limit = 64; + else limit = 66; + for (i=1; i<64; i++) { if ( komodo_minerid(height-i) == notaryid ) {