From 7b1d586cf950e85fbec5704e221768df2d0bb3ca Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 7 Feb 2018 17:01:57 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_ordermatch.c | 1 + iguana/exchanges/LP_utxo.c | 1 + 2 files changed, 2 insertions(+) diff --git a/iguana/exchanges/LP_ordermatch.c b/iguana/exchanges/LP_ordermatch.c index 853854656..b8eb2458f 100644 --- a/iguana/exchanges/LP_ordermatch.c +++ b/iguana/exchanges/LP_ordermatch.c @@ -974,6 +974,7 @@ struct LP_quoteinfo *LP_trades_gotconnect(void *ctx,struct LP_quoteinfo *qp,stru printf("check reservation\n"); if ( LP_reservation_check(qp->txid,qp->vout,qp->desthash) == 0 && LP_reservation_check(qp->txid2,qp->vout2,qp->desthash) == 0 ) { + printf("CONNECT STARTBOB!\n"); LP_connectstartbob(ctx,LP_mypubsock,qp->srccoin,qp->destcoin,qprice,qp); return(qp); } else printf("connect message from non-reserved (%llu)\n",(long long)qp->aliceid); diff --git a/iguana/exchanges/LP_utxo.c b/iguana/exchanges/LP_utxo.c index 7cb916861..2ad25ecf9 100644 --- a/iguana/exchanges/LP_utxo.c +++ b/iguana/exchanges/LP_utxo.c @@ -112,6 +112,7 @@ struct LP_inuse_info *_LP_inuse_add(uint32_t expiration,bits256 otherpub,bits256 int32_t LP_reservation_check(bits256 txid,int32_t vout,bits256 pubkey) { struct LP_inuse_info *lp; int32_t retval = -1; + printf("LP_reservation check\n"); if ( bits256_nonz(pubkey) != 0 ) { char str[65],str2[65];