diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index 74ba12833..026222022 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -642,8 +642,8 @@ int32_t komodo_minerids(uint8_t *minerids,int32_t height,int32_t width) int32_t komodo_is_special(int32_t height,uint8_t pubkey33[33]) { - int32_t i,notaryid,minerid,limit; - komodo_chosennotary(¬aryid,height,pubkey33); + int32_t i,notaryid,minerid,limit; uint8_t _pubkey33[33]; + komodo_chosennotary(¬aryid,height,_pubkey33); if ( height >= 34000 && notaryid >= 0 ) { if ( height < 79693 ) @@ -653,7 +653,7 @@ int32_t komodo_is_special(int32_t height,uint8_t pubkey33[33]) else limit = 66; for (i=1; i 180000 && KOMODO_REWIND == 0) ) return error("CheckProofOfWork(): hash doesn't match nBits");