From 68cfaa1356576e378af8a6c8ad4b9c30eef6d728 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 26 Feb 2017 12:56:04 +0200 Subject: [PATCH] Test --- src/komodo_gateway.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index 8ac105628..29f458105 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -499,7 +499,7 @@ int32_t komodo_gateway_deposits(CMutableTransaction *txNew,char *base,int32_t to } if ( ASSETCHAINS_SYMBOL[0] != 0 && (pax_fiatstatus(&available,&deposited,&issued,&withdrawn,&approved,&redeemed,symbol) != 0 || available < pax->fiatoshis) ) { - if ( height > 214700 || strcmp(ASSETCHAINS_SYMBOL,symbol) == 0 ) + if ( pax->height > 214700 || strcmp(ASSETCHAINS_SYMBOL,symbol) == 0 ) printf("miner.[%s]: skip %s %.8f when avail %.8f deposited %.8f, issued %.8f withdrawn %.8f approved %.8f redeemed %.8f\n",ASSETCHAINS_SYMBOL,symbol,dstr(pax->fiatoshis),dstr(available),dstr(deposited),dstr(issued),dstr(withdrawn),dstr(approved),dstr(redeemed)); continue; } @@ -511,7 +511,7 @@ int32_t komodo_gateway_deposits(CMutableTransaction *txNew,char *base,int32_t to }*/ if ( ASSETCHAINS_SYMBOL[0] != 0 && (strcmp(pax->symbol,symbol) != 0 || pax->validated == 0 || pax->ready == 0) ) { - if ( height > 214700 || strcmp(pax->symbol,ASSETCHAINS_SYMBOL) == 0 ) + if ( pax->height > 214700 || strcmp(pax->symbol,ASSETCHAINS_SYMBOL) == 0 ) printf("pax->symbol.%s != %s or null pax->validated %.8f ready.%d ht.(%d %d)\n",pax->symbol,symbol,dstr(pax->validated),pax->ready,kmdsp->CURRENT_HEIGHT,pax->height); continue; }