From d15f620554f8b33fa02b0cb9ea1623b7ff942b67 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 5 Mar 2018 09:57:21 +0200 Subject: [PATCH] Revert bob prevention during alice swap --- iguana/exchanges/LP_ordermatch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/exchanges/LP_ordermatch.c b/iguana/exchanges/LP_ordermatch.c index abc607e0b..b0f5a46a5 100644 --- a/iguana/exchanges/LP_ordermatch.c +++ b/iguana/exchanges/LP_ordermatch.c @@ -1406,8 +1406,8 @@ int32_t LP_tradecommand(void *ctx,char *myipaddr,int32_t pubsock,cJSON *argjson, } if ( strcmp(method,"request") == 0 ) // bob { - if ( LP_Alicemaxprice != 0. ) - return(retval); + //if ( LP_Alicemaxprice != 0. ) + // return(retval); bestprice = LP_bob_competition(&counter,aliceid,qprice,-1); if ( Qtrades == 0 )//|| (bits256_cmp(Q.srchash,G.LP_mypub25519) == 0 && bits256_cmp(G.LP_mypub25519,Q.desthash) != 0) ) LP_trades_gotrequest(ctx,&Q,&Q2,jstr(argjson,"pair"));