|
|
@ -924,7 +924,7 @@ struct LP_utxoinfo *LP_buyutxo(double *ordermatchpricep,int64_t *bestsatoshisp,i |
|
|
|
item = jitem(asks,i); |
|
|
|
price = jdouble(item,"price"); |
|
|
|
pubkey = jbits256(item,"pubkey"); |
|
|
|
printf("%s pubcmp %d price %.8f vs maxprice %.8f\n",jprint(item,0),bits256_cmp(pubkey,G.LP_mypub25519),price,maxprice); |
|
|
|
printf("[%d/%d] %s pubcmp %d price %.8f vs maxprice %.8f\n",i,numasks,jprint(item,0),bits256_cmp(pubkey,G.LP_mypub25519),price,maxprice); |
|
|
|
if ( LP_pricevalid(price) > 0 && price <= maxprice ) |
|
|
|
{ |
|
|
|
for (j=0; j<numavoids; j++) |
|
|
|