diff --git a/iguana/exchanges/LP_ordermatch.c b/iguana/exchanges/LP_ordermatch.c index 0bdc83eb5..313400107 100644 --- a/iguana/exchanges/LP_ordermatch.c +++ b/iguana/exchanges/LP_ordermatch.c @@ -844,6 +844,12 @@ struct LP_utxoinfo *LP_address_utxopair(int32_t relflag,struct LP_utxoinfo *utxo if ( relflag != 0 ) targetval = SATOSHIDEN * (volume / price) + 2*txfee; else targetval = SATOSHIDEN * (volume*price) + 2*txfee; + { + int32_t i; + for (i=0; iU.value)); + printf("targetval %.8f vol %.8f price %.8f txfee %.8f\n",dstr(targetval),volume,price,dstr(txfee)); + } if ( (mini= LP_nearest_utxovalue(utxos,m,targetval)) >= 0 ) { up = utxos[mini];