diff --git a/iguana/exchanges/LP_ordermatch.c b/iguana/exchanges/LP_ordermatch.c index 8333b4d32..ac0b6ab77 100644 --- a/iguana/exchanges/LP_ordermatch.c +++ b/iguana/exchanges/LP_ordermatch.c @@ -1502,6 +1502,7 @@ char *LP_autobuy(void *ctx,int32_t fomoflag,char *myipaddr,int32_t mypubsock,cha if ( maxutxo > 0 ) { relvolume = dstr(maxutxo) - dstr(desttxfee)*3; + printf("maxutxo %.8f relvolume %.8f\n",dstr(maxutxo),relvolume); maxprice = LP_fomoprice(base,rel,relvolume); } else printf("no utxo available\n"); } diff --git a/iguana/exchanges/LP_utxo.c b/iguana/exchanges/LP_utxo.c index e51b4082a..d4f7a1fe3 100644 --- a/iguana/exchanges/LP_utxo.c +++ b/iguana/exchanges/LP_utxo.c @@ -333,13 +333,13 @@ int32_t LP_address_minmax(int32_t iambob,uint64_t *medianp,uint64_t *minp,uint64 { *maxp = buf[0]; *medianp = buf[m/2]; + printf("alice addressmin max %s %.8f %.8f %.8f num.%d\n",coin->symbol,dstr(*minp),dstr(*maxp),dstr(*medianp),m); } } else *minp = *maxp = *medianp = 0; free(buf); } free_json(array); } - //printf("addressmin max %s %.8f %.8f %.8f num.%d\n",coin->symbol,dstr(*minp),dstr(*maxp),dstr(*medianp),m); return(m/2); }