From 28bc6208be8e10099bd0ea2164571eca865cabd1 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 21 Nov 2016 20:22:04 -0300 Subject: [PATCH] test --- src/komodo_bitcoind.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 ) {