diff --git a/iguana/exchanges/LP_mmjson.c b/iguana/exchanges/LP_mmjson.c index dcbd3de0c..5389aabaa 100644 --- a/iguana/exchanges/LP_mmjson.c +++ b/iguana/exchanges/LP_mmjson.c @@ -581,7 +581,9 @@ int32_t MMJSON_encode(uint8_t *linebuf,char *line) s = jfieldname(ptr); if ( (ind= mmfind(s)) < 0 ) { - printf("missing field.(%s) add to MM_fields[]\n",s); + static uint32_t counter; + if ( counter++ < 3 ) + printf("missing field.(%s) add to MM_fields[]\n",s); linebuf[k++] = MMJSON_STRING; memcpy(&linebuf[k],s,strlen(s)+1); k += (int32_t)strlen(s) + 1; diff --git a/iguana/exchanges/LP_swap.c b/iguana/exchanges/LP_swap.c index fd6bffc64..1b7e82324 100644 --- a/iguana/exchanges/LP_swap.c +++ b/iguana/exchanges/LP_swap.c @@ -1305,6 +1305,7 @@ struct basilisk_swap *LP_swapinit(int32_t iambob,int32_t optionduration,bits256 if ( ctx == 0 ) ctx = bitcoin_ctx(); swap = calloc(1,sizeof(*swap)); + memcpy(swap->uuidstr,qp->uuidstr,sizeof(swap->uuidstr)); swap->aliceid = LP_aliceid_calc(qp->desttxid,qp->destvout,qp->feetxid,qp->feevout); swap->I.req.quoteid = rp->quoteid; swap->ctx = ctx;