Browse Source

Otheraddr for mpnet

pass-iguana-arg
jl777 7 years ago
parent
commit
f2482f7ba2
  1. 4
      iguana/exchanges/LP_ordermatch.c
  2. 2
      iguana/exchanges/LP_signatures.c

4
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);

2
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);
}

Loading…
Cancel
Save