Browse Source

Test

etomic
jl777 8 years ago
parent
commit
00b8a949f8
  1. 1
      iguana/exchanges/LP_quotes.c

1
iguana/exchanges/LP_quotes.c

@ -523,7 +523,6 @@ char *LP_autotrade(char *myipaddr,int32_t mypubsock,double profitmargin,char *ba
return(clonestr("{\"error\":\"cant set ordermatch quote\"}"));
if ( LP_quotedestinfo(&Q,Q.timestamp+1,asatoshis,autxo->payment.txid,autxo->payment.vout,autxo->fee.txid,autxo->fee.vout,LP_mypubkey,autxo->coinaddr) < 0 )
return(clonestr("{\"error\":\"cant set ordermatch quote info\"}"));
LP_unavailableset(autxo,bestutxo->pubkey);
price = LP_query(myipaddr,mypubsock,profitmargin,"request",&Q);
if ( price <= maxprice )
{

Loading…
Cancel
Save