|
@ -1239,7 +1239,7 @@ int32_t LP_tradecommand(void *ctx,char *myipaddr,int32_t pubsock,cJSON *argjson, |
|
|
LP_bob_competition(&counter,aliceid,qprice,1000); |
|
|
LP_bob_competition(&counter,aliceid,qprice,1000); |
|
|
if ( bits256_cmp(G.LP_mypub25519,Q.srchash) == 0 && bits256_cmp(G.LP_mypub25519,Q.desthash) != 0 ) |
|
|
if ( bits256_cmp(G.LP_mypub25519,Q.srchash) == 0 && bits256_cmp(G.LP_mypub25519,Q.desthash) != 0 ) |
|
|
{ |
|
|
{ |
|
|
//printf("CONNECT.(%s)\n",jprint(argjson,0));
|
|
|
printf("CONNECT.(%s)\n",jprint(argjson,0)); |
|
|
if ( (proof= jarray(&num,argjson,"proof")) != 0 && num > 0 ) |
|
|
if ( (proof= jarray(&num,argjson,"proof")) != 0 && num > 0 ) |
|
|
LP_instantdex_proofcheck(Q.destaddr,proof,num); |
|
|
LP_instantdex_proofcheck(Q.destaddr,proof,num); |
|
|
if ( Qtrades == 0 ) |
|
|
if ( Qtrades == 0 ) |
|
|