|
|
@ -956,7 +956,7 @@ struct LP_quoteinfo *LP_trades_gotconnect(void *ctx,struct LP_quoteinfo *qp,stru |
|
|
|
|
|
|
|
struct LP_quoteinfo *LP_trades_gotconnected(void *ctx,struct LP_quoteinfo *qp,struct LP_quoteinfo *newqp,char *pairstr) |
|
|
|
{ |
|
|
|
char *retstr; |
|
|
|
char *retstr; int32_t changed; |
|
|
|
//char str[65]; printf("alice %s received CONNECTED.(%llu)\n",bits256_str(str,G.LP_mypub25519),(long long)qp->aliceid);
|
|
|
|
*newqp = *qp; |
|
|
|
qp = newqp; |
|
|
@ -966,6 +966,7 @@ struct LP_quoteinfo *LP_trades_gotconnected(void *ctx,struct LP_quoteinfo *qp,st |
|
|
|
LP_aliceid(qp->tradeid,qp->aliceid,"connected",0,0); |
|
|
|
if ( (retstr= LP_connectedalice(qp,pairstr)) != 0 ) |
|
|
|
free(retstr); |
|
|
|
LP_mypriceset(&changed,qp->destcoin,qp->srccoin,0.); |
|
|
|
return(qp); |
|
|
|
} |
|
|
|
//printf("LP_trades_alicevalidate error\n");
|
|
|
|