Browse Source

Test

etomic
jl777 8 years ago
parent
commit
cf181e5ae9
  1. 2
      iguana/exchanges/LP_commands.c
  2. 2
      iguana/exchanges/install

2
iguana/exchanges/LP_commands.c

@ -172,7 +172,7 @@ trust(pubkey, trust)\n\
}
else if ( strcmp(method,"autoprice") == 0 )
{
if ( LP_autoprice(base,rel,price,jdouble(argjson,"margin")) < 0 )
if ( LP_autoprice(base,rel,price,jdouble(argjson,"margin")) >= 0 )
return(clonestr("{\"error\":\"couldnt set autoprice\"}"));
else return(clonestr("{\"error\":\"autoprice error\"}"));
}

2
iguana/exchanges/install

@ -1,4 +1,4 @@
cp deletemessages getmessages debug register registerall trade ordermatch bestfit orderbook autotrade client run_osx client_osx run coins disable enable forward myprice myprices getcoins getpeers getpeersIP getprices getutxos help inv lookup pub setprice status utxos ../dexscripts
cp autoprice autofill deletemessages getmessages debug register registerall trade ordermatch bestfit orderbook autotrade client run_osx client_osx run coins disable enable forward myprice myprices getcoins getpeers getpeersIP getprices getutxos help inv lookup pub setprice status utxos ../dexscripts
cd ../dexscripts
#cp ../exchanges/passphrase ../exchanges/userpass .
echo you will need to have a passphrase file with your passphrase and userpass file with userpass value in dexscripts dir

Loading…
Cancel
Save