diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index f3a03b2cb..6f3185f8c 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -453,7 +453,7 @@ int32_t komodo_gateway_deposits(CMutableTransaction *txNew,char *base,int32_t to pax->validated = pax->komodoshis; //kmdsp->NOTARIZED_HEIGHT; #endif } - if ( pax_fiatstatus(&available,&deposited,&issued,&withdrawn,&approved,&redeemed,symbol) != 0 || available < pax->fiatoshis ) + if ( strcmp(symbol,"KMD") != 0 && pax_fiatstatus(&available,&deposited,&issued,&withdrawn,&approved,&redeemed,symbol) != 0 || available < pax->fiatoshis ) { printf("miner: skip %s %.8f when avail %.8f\n",symbol,dstr(pax->fiatoshis),dstr(available)); continue; diff --git a/src/pow.cpp b/src/pow.cpp index 262fadb56..09a9db294 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -140,7 +140,7 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in }*/ if ( notaryid >= 0 ) { - if ( height < 80000 && (special != 0 || special2 > 0) ) + if ( height > 10000 && height < 80000 && (special != 0 || special2 > 0) ) flag = 1; else if ( height >= 80000 && height < 108000 && special2 > 0 ) flag = 1;