Browse Source

test

etomic
jl777 8 years ago
parent
commit
7582dd3ecd
  1. 2
      iguana/iguana_exchanges.c

2
iguana/iguana_exchanges.c

@ -100,7 +100,7 @@ double instantdex_aveprice(struct supernet_info *myinfo,struct exchange_quote *s
for (totalvol=pricesum=i=0; i<n && totalvol < basevolume; i++) for (totalvol=pricesum=i=0; i<n && totalvol < basevolume; i++)
{ {
quote = sortbuf[i]; quote = sortbuf[i];
//printf("n.%d i.%d price %.8f %.8f %.8f\n",n,i,dstr(sortbuf[i].satoshis),sortbuf[i].price,quote.volume); printf("n.%d i.%d price %.8f %.8f %.8f\n",n,i,dstr(sortbuf[i].satoshis),sortbuf[i].price,quote.volume);
if ( quote.satoshis != 0 ) if ( quote.satoshis != 0 )
{ {
pricesum += (quote.price * quote.volume); pricesum += (quote.price * quote.volume);

Loading…
Cancel
Save