Browse Source

Test

etomic
jl777 8 years ago
parent
commit
47194ad67b
  1. 2
      iguana/exchanges/LP_commands.c

2
iguana/exchanges/LP_commands.c

@ -250,7 +250,7 @@ cJSON *LP_tradecandidates(struct LP_utxoinfo *myutxo,char *base)
LP_quoteparse(&Q,item); LP_quoteparse(&Q,item);
if ( (satoshis= j64bits(item,"satoshis")) == 0 ) if ( (satoshis= j64bits(item,"satoshis")) == 0 )
satoshis = SATOSHIDEN * jdouble(item,"value"); satoshis = SATOSHIDEN * jdouble(item,"value");
printf("i.%d %.8f %.8f\n",i,dstr(myutxo->satoshis),dstr(Q.destsatoshis)); printf(">>>> i.%d %.8f %.8f\n",i,dstr(myutxo->satoshis),dstr(Q.destsatoshis));
safecopy(coinstr,jstr(item,"base"),sizeof(coinstr)); safecopy(coinstr,jstr(item,"base"),sizeof(coinstr));
if ( strcmp(coinstr,base) == 0 ) if ( strcmp(coinstr,base) == 0 )
{ {

Loading…
Cancel
Save