diff --git a/iguana/exchanges/LP_rpc.c b/iguana/exchanges/LP_rpc.c index 74b69ef9e..6b40b3077 100644 --- a/iguana/exchanges/LP_rpc.c +++ b/iguana/exchanges/LP_rpc.c @@ -292,7 +292,7 @@ cJSON *LP_gettxout(char *symbol,bits256 txid,int32_t vout) serialized = malloc(len); decode_hex(serialized,len,hexstr+1); LP_swap_coinaddr(coin,coinaddr,&value,serialized,len,vout); - printf("HEX.(%s) len.%d %s %.8f\n",hexstr+1,len,coinaddr,dstr(value)); + //printf("HEX.(%s) len.%d %s %.8f\n",hexstr+1,len,coinaddr,dstr(value)); if ( (listjson= electrum_address_listunspent(coin->symbol,0,0,coinaddr)) != 0 ) { if ( (array= jarray(&n,listjson,"result")) != 0 ) diff --git a/iguana/exchanges/LP_utxos.c b/iguana/exchanges/LP_utxos.c index 69132b326..f330d4df1 100644 --- a/iguana/exchanges/LP_utxos.c +++ b/iguana/exchanges/LP_utxos.c @@ -852,7 +852,7 @@ uint64_t LP_privkey_init(int32_t mypubsock,struct iguana_info *coin,bits256 mypr satoshis = j64bits(item,"value"); if ( LP_inventory_prevent(iambob,jbits256(item,"tx_hash"),juint(item,"tx_pos")) == 0 && jint(item,"height") < coin->height ) { - printf("%s\n",jprint(item,0)); + //printf("%s\n",jprint(item,0)); values[i] = satoshis; } else used++; } @@ -883,7 +883,7 @@ uint64_t LP_privkey_init(int32_t mypubsock,struct iguana_info *coin,bits256 mypr values[i] = 0, used++; if ( iambob == 0 ) targetval = (depositval / 776) + txfee; - else targetval = (depositval / 9) * 8 + 2*txfee; + else targetval = (depositval / 10) * 8 - 2*txfee; printf("iambob.%d i.%d deposit %.8f min %.8f target %.8f\n",iambob,i,dstr(depositval),dstr((1+LP_MINSIZE_TXFEEMULT)*txfee),dstr(targetval)); if ( depositval < (1+LP_MINSIZE_TXFEEMULT)*txfee ) continue;