jl777 7 years ago
parent
commit
fe053423cf
  1. 4
      iguana/exchanges/LP_signatures.c
  2. 1
      iguana/exchanges/LP_stats.c

4
iguana/exchanges/LP_signatures.c

@ -125,7 +125,7 @@ int32_t LP_quoteparse(struct LP_quoteinfo *qp,cJSON *argjson)
qp->desttxfee = j64bits(argjson,"desttxfee");
qp->R.requestid = juint(argjson,"requestid");
qp->R.quoteid = juint(argjson,"quoteid");
if ( qp->R.requestid != (rid= basilisk_requestid(&qp->R)) )
/*if ( qp->R.requestid != (rid= basilisk_requestid(&qp->R)) )
{
printf("requestid.%u -> %u\n",qp->R.requestid,rid);
qp->R.requestid = rid;
@ -134,7 +134,7 @@ int32_t LP_quoteparse(struct LP_quoteinfo *qp,cJSON *argjson)
{
printf("quoteid.%u -> %u\n",qp->R.quoteid,qid);
qp->R.quoteid = qid;
}
}*/
return(0);
}

1
iguana/exchanges/LP_stats.c

@ -54,6 +54,7 @@ void LP_statslog_parseline(cJSON *lineobj)
else if ( strcmp(method,"connected") == 0 )
{
LP_connecteds++;
memset(&Q,0,sizeof(Q));
if ( LP_quoteparse(&Q,lineobj) < 0 )
{
printf("quoteparse_error.(%s)\n",jprint(lineobj,0));

Loading…
Cancel
Save