|
|
@ -451,7 +451,7 @@ char *dex_response(int32_t *broadcastflagp,struct supernet_info *myinfo,struct d |
|
|
|
item = cJSON_CreateObject(); |
|
|
|
init_hexbytes_noT(str,pubkeys[i],33); |
|
|
|
jaddstr(item,"pubkey",str); |
|
|
|
printf("[%s %d] ",str,i); |
|
|
|
//printf("[%s %d] ",str,i);
|
|
|
|
bitcoin_address(str,0,pubkeys[i],33); |
|
|
|
jaddstr(item,"BTCaddress",str); |
|
|
|
bitcoin_address(str,60,pubkeys[i],33); |
|
|
@ -460,7 +460,7 @@ char *dex_response(int32_t *broadcastflagp,struct supernet_info *myinfo,struct d |
|
|
|
} |
|
|
|
jadd(retjson,"notaries",array); |
|
|
|
jaddnum(retjson,"numnotaries",numnotaries); |
|
|
|
printf("numnotaries.%d\n",numnotaries); |
|
|
|
//printf("numnotaries.%d\n",numnotaries);
|
|
|
|
} |
|
|
|
if ( retjson != 0 ) |
|
|
|
{ |
|
|
|