diff --git a/iguana/exchanges/LP_quotes.c b/iguana/exchanges/LP_quotes.c index 86a8a7966..131d2b5ea 100644 --- a/iguana/exchanges/LP_quotes.c +++ b/iguana/exchanges/LP_quotes.c @@ -279,7 +279,7 @@ cJSON *LP_autotrade(struct LP_utxoinfo *myutxo,char *base,double maxprice) bestprice = 0.; if ( maxprice == 0. ) maxprice = LP_price(base,myutxo->coin) / 0.975; - if ( (array= LP_tradecandidates(myutxo,base)) != 0 ) + if ( (array= LP_tradecandidates(base)) != 0 ) { //printf("candidates.(%s)\nn.%d\n",jprint(array,0),cJSON_GetArraySize(array)); if ( (n= cJSON_GetArraySize(array)) > 0 )