diff --git a/iguana/exchanges/LP_signatures.c b/iguana/exchanges/LP_signatures.c index 34fe9ca32..4bc33de4d 100644 --- a/iguana/exchanges/LP_signatures.c +++ b/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); } diff --git a/iguana/exchanges/LP_stats.c b/iguana/exchanges/LP_stats.c index adc14b7ff..330ea60d8 100644 --- a/iguana/exchanges/LP_stats.c +++ b/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));