jl777 7 years ago
parent
commit
ad148cc9bf
  1. 2
      iguana/exchanges/LP_commands.c
  2. 2
      iguana/exchanges/LP_nativeDEX.c

2
iguana/exchanges/LP_commands.c

@ -438,7 +438,7 @@ dividends(coin, height, <args>)\n\
else else
{ {
memset(zero.bytes,0,sizeof(zero)); memset(zero.bytes,0,sizeof(zero));
//printf("broadcast.(%s)\n",jprint(reqjson,0)); printf("broadcast.(%s)\n",jprint(reqjson,0));
LP_broadcast_message(LP_mypubsock,base!=0?base:jstr(argjson,"coin"),rel,zero,jprint(reqjson,0)); LP_broadcast_message(LP_mypubsock,base!=0?base:jstr(argjson,"coin"),rel,zero,jprint(reqjson,0));
Broadcaststr = jprint(reqjson,0); Broadcaststr = jprint(reqjson,0);
} }

2
iguana/exchanges/LP_nativeDEX.c

@ -283,7 +283,7 @@ int32_t LP_sock_check(char *typestr,void *ctx,char *myipaddr,int32_t pubsock,int
free(retstr); free(retstr);
if ( Broadcaststr != 0 ) if ( Broadcaststr != 0 )
{ {
printf("self broadcast.(%s)\n",Broadcaststr); //printf("self broadcast.(%s)\n",Broadcaststr);
str = Broadcaststr; str = Broadcaststr;
Broadcaststr = 0; Broadcaststr = 0;
if ( (argjson= cJSON_Parse(str)) != 0 ) if ( (argjson= cJSON_Parse(str)) != 0 )

Loading…
Cancel
Save