From 6e194f180c41b385321f3d63d8152450472d854e Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 24 Apr 2017 19:03:51 +0300 Subject: [PATCH] Test --- basilisk/smartaddress.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/basilisk/smartaddress.c b/basilisk/smartaddress.c index ea34fbf50..ebdd339eb 100755 --- a/basilisk/smartaddress.c +++ b/basilisk/smartaddress.c @@ -54,10 +54,6 @@ cJSON *smartaddress_json(struct smartaddress *ap) char coinaddr[64]; int32_t j,n; struct iguana_info *coin; cJSON *array,*item,*retjson; retjson = cJSON_CreateObject(); jaddstr(retjson,"type",ap->typestr); - bitcoin_address(coinaddr,60,ap->pubkey33,33); - jaddstr(retjson,"KMD",coinaddr); - bitcoin_address(coinaddr,0,ap->pubkey33,33); - jaddstr(retjson,"BTC",coinaddr); if ( (n= ap->numsymbols) > 0 ) { array = cJSON_CreateArray(); @@ -91,6 +87,7 @@ void smartaddress_symboladd(struct smartaddress *ap,char *symbol,double maxbid,d safecopy(sp->symbol,symbol,sizeof(sp->symbol)); sp->maxbid = maxbid; sp->minask = minask; + printf("symboladd (%s) <- (%s %f %f)\n",ap->typestr,symbol,maxbid,minask); } }