Browse Source

Test

etomic
jl777 7 years ago
parent
commit
6f0461ae8a
  1. 2
      iguana/exchanges/LP_nativeDEX.c
  2. 3
      iguana/exchanges/LP_rpc.c

2
iguana/exchanges/LP_nativeDEX.c

@ -708,7 +708,7 @@ int32_t LP_reserved_msgs()
while ( num_Reserved_msgs > 0 ) while ( num_Reserved_msgs > 0 )
{ {
num_Reserved_msgs--; num_Reserved_msgs--;
//printf("BROADCASTING RESERVED.(%s)\n",Reserved_msgs[num_Reserved_msgs]); printf("%d BROADCASTING RESERVED.(%s)\n",num_Reserved_msgs,Reserved_msgs[num_Reserved_msgs]);
LP_broadcast_message(LP_mypubsock,"","",zero,Reserved_msgs[num_Reserved_msgs]); LP_broadcast_message(LP_mypubsock,"","",zero,Reserved_msgs[num_Reserved_msgs]);
Reserved_msgs[num_Reserved_msgs] = 0; Reserved_msgs[num_Reserved_msgs] = 0;
n++; n++;

3
iguana/exchanges/LP_rpc.c

@ -476,10 +476,11 @@ int32_t LP_listunspent_issue(char *symbol,char *coinaddr,int32_t fullflag)
if ( strcmp(coin->smartaddr,coinaddr) == 0 ) if ( strcmp(coin->smartaddr,coinaddr) == 0 )
{ {
retjson = LP_listunspent(symbol,coinaddr); retjson = LP_listunspent(symbol,coinaddr);
//printf("SELF_LISTUNSPENT.(%s %s)\n",symbol,coinaddr); printf("SELF_LISTUNSPENT.(%s %s)\n",symbol,coinaddr);
} }
else if ( IAMLP == 0 ) else if ( IAMLP == 0 )
{ {
printf("LP_listunspent_query.(%s %s)\n",symbol,coinaddr);
LP_listunspent_query(coin->symbol,coin->smartaddr); LP_listunspent_query(coin->symbol,coin->smartaddr);
if ( fullflag != 0 ) if ( fullflag != 0 )
{ {

Loading…
Cancel
Save