From 250195b07f9e451d9c40654397a54f198fbaaf7e Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 9 Dec 2016 12:33:57 +0200 Subject: [PATCH] tes --- src/komodo_gateway.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index 1aac68f76..6a7b8f8e6 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -270,7 +270,10 @@ uint64_t komodo_paxtotal() else if ( pax->type == 'W' ) { //if ( strcmp(str,ASSETCHAINS_SYMBOL) == 0 ) - printf("got WITHDRAW.%s kmd.%d ht.%d %.8f -> %.8f\n",str,pax->height,pax->otherheight,dstr(pax->fiatoshis),dstr(pax->komodoshis)); + 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(checktoshs)); } } }