From b8176b070c68095fbea48c19c5e75d851f934d2e Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 9 Dec 2016 13:23:01 +0200 Subject: [PATCH] test --- src/komodo_gateway.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index 84e31b746..33a6c45af 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -272,8 +272,9 @@ uint64_t komodo_paxtotal() //if ( strcmp(str,ASSETCHAINS_SYMBOL) == 0 ) //bitcoin_address(coinaddr,addrtype,rmd160,20); checktoshis = komodo_paxprice(&seed,pax->height,pax->source,(char *)"KMD",(uint64_t)pax->fiatoshis); - - printf("got WITHDRAW.%s kmd.%d ht.%d %.8f -> %.8f/%.8f\n",pax->source,pax->height,pax->otherheight,dstr(pax->fiatoshis),dstr(pax->komodoshis),dstr(checktoshis)); + if ( checktoshis != pax->komodoshis ) + pax->marked = pax->height; + else printf("got WITHDRAW.%s kmd.%d ht.%d %.8f -> %.8f/%.8f\n",pax->source,pax->height,pax->otherheight,dstr(pax->fiatoshis),dstr(pax->komodoshis),dstr(checktoshis)); } } }