diff --git a/iguana/exchanges/LP_ordermatch.c b/iguana/exchanges/LP_ordermatch.c index 9df87e3fa..ee90ee06a 100644 --- a/iguana/exchanges/LP_ordermatch.c +++ b/iguana/exchanges/LP_ordermatch.c @@ -923,15 +923,15 @@ 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); if ( LP_pricevalid(price) > 0 && price <= maxprice ) { - pubkey = jbits256(item,"pubkey"); for (j=0; jtaddr,basecoin->pubtype,pubp->rmd160,sizeof(pubp->rmd160));