Browse Source

Test

etomic
jl777 7 years ago
parent
commit
3b20e5548b
  1. 9
      iguana/exchanges/LP_nativeDEX.c

9
iguana/exchanges/LP_nativeDEX.c

@ -698,7 +698,7 @@ void LP_initcoins(void *ctx,int32_t pubsock,cJSON *coins)
int32_t i,n,notarized; cJSON *item; char *symbol; struct iguana_info *coin;
for (i=0; i<sizeof(activecoins)/sizeof(*activecoins); i++)
{
printf("%s ",activecoins[i]);
printf("%s, ",activecoins[i]);
LP_coinfind(activecoins[i]);
LP_priceinfoadd(activecoins[i]);
if ( (coin= LP_coinfind(activecoins[i])) != 0 )
@ -725,7 +725,7 @@ void LP_initcoins(void *ctx,int32_t pubsock,cJSON *coins)
item = jitem(coins,i);
if ( (symbol= jstr(item,"coin")) != 0 )
{
printf("%s ",jstr(item,"coin"));
printf("%s, ",jstr(item,"coin"));
LP_coincreate(item);
LP_priceinfoadd(jstr(item,"coin"));
if ( (coin= LP_coinfind(symbol)) != 0 )
@ -738,6 +738,11 @@ void LP_initcoins(void *ctx,int32_t pubsock,cJSON *coins)
}
}
}
for (i=0; i<n; i++)
{
item = jitem(coins,i);
printf("%s, ",jstr(item,"coin"));
}
}
printf("privkey updates\n");
}

Loading…
Cancel
Save