diff --git a/iguana/exchanges/LP_quotes.c b/iguana/exchanges/LP_quotes.c index e406d44d7..42c5aa718 100644 --- a/iguana/exchanges/LP_quotes.c +++ b/iguana/exchanges/LP_quotes.c @@ -192,6 +192,18 @@ int32_t LP_sizematch(uint64_t mysatoshis,uint64_t othersatoshis) else return(-1); } +int32_t LP_arrayfind(cJSON *array,bits256 txid,int32_t vout) +{ + int32_t i,n = cJSON_GetArraySize(array); cJSON *item; + for (i=0; icoin) / 0.975; if ( (array= LP_tradecandidates(myutxo,base)) != 0 ) { - //printf("candidates.(%s)\n",jprint(array,0)); + printf("candidates.(%s)\n",jprint(array,0)); if ( (n= cJSON_GetArraySize(array)) > 0 ) { memset(prices,0,sizeof(prices));