Browse Source

Test

etomic
jl777 8 years ago
parent
commit
d966805c37
  1. 4
      iguana/exchanges/LP_commands.c

4
iguana/exchanges/LP_commands.c

@ -257,6 +257,8 @@ bot_resume(botid)\n\
return(basilisk_swapentries(base,rel,jint(argjson,"limit"))); return(basilisk_swapentries(base,rel,jint(argjson,"limit")));
else return(basilisk_swaplist(0,0)); else return(basilisk_swaplist(0,0));
} }
else if ( (retstr= LP_istradebots_command(ctx,pubsock,method,argjson)) != 0 )
return(retstr);
if ( base != 0 && rel != 0 ) if ( base != 0 && rel != 0 )
{ {
double price,bid,ask; double price,bid,ask;
@ -453,8 +455,6 @@ bot_resume(botid)\n\
return(LP_pubkey_trustset(jbits256(argjson,"pubkey"),jint(argjson,"trust"))); return(LP_pubkey_trustset(jbits256(argjson,"pubkey"),jint(argjson,"trust")));
else if ( strcmp(method,"trusted") == 0 ) else if ( strcmp(method,"trusted") == 0 )
return(LP_pubkey_trusted()); return(LP_pubkey_trusted());
else if ( (retstr= LP_istradebots_command(ctx,pubsock,method,argjson)) != 0 )
return(retstr);
} // end of protected localhost commands } // end of protected localhost commands
if ( IAMLP == 0 ) if ( IAMLP == 0 )
{ {

Loading…
Cancel
Save