diff --git a/iguana/exchanges/LP_ordermatch.c b/iguana/exchanges/LP_ordermatch.c index 6d4976a85..2362f9e90 100644 --- a/iguana/exchanges/LP_ordermatch.c +++ b/iguana/exchanges/LP_ordermatch.c @@ -550,7 +550,7 @@ int32_t LP_connectstartbob(void *ctx,int32_t pubsock,char *base,char *rel,double if ( qp->mpnet != 0 && qp->gtc == 0 ) { char *msg = jprint(reqjson,0); - LP_mpnet_send(0,msg,1,0); + LP_mpnet_send(0,msg,1,qp->destaddr); free(msg); } free_json(reqjson); @@ -1208,7 +1208,7 @@ printf("bob %s received REQUEST.(%s) mpnet.%d fill.%d gtc.%d\n",bits256_str(str, if ( qp->mpnet != 0 && qp->gtc == 0 ) { char *msg = jprint(reqjson,0); - LP_mpnet_send(0,msg,1,0); + LP_mpnet_send(0,msg,1,qp->destaddr); free(msg); } free_json(reqjson); diff --git a/iguana/exchanges/LP_signatures.c b/iguana/exchanges/LP_signatures.c index b4c90ffba..40228f796 100644 --- a/iguana/exchanges/LP_signatures.c +++ b/iguana/exchanges/LP_signatures.c @@ -742,7 +742,7 @@ void LP_query(void *ctx,char *myipaddr,int32_t mypubsock,char *method,struct LP_ } } if ( strcmp(method,"connect") == 0 && qp->mpnet != 0 && qp->gtc == 0 ) - LP_mpnet_send(0,msg,1,0); + LP_mpnet_send(0,msg,1,qp->coinaddr); free(msg); }