diff --git a/iguana/exchanges/LP_nativeDEX.c b/iguana/exchanges/LP_nativeDEX.c index 0b7b60258..8c187dd4a 100644 --- a/iguana/exchanges/LP_nativeDEX.c +++ b/iguana/exchanges/LP_nativeDEX.c @@ -18,11 +18,7 @@ // LP_nativeDEX.c // marketmaker // -// variable timeout based on number of electrums in swap -// listunspent on each new block or 30 seconds if doing swap -// reject swap response from bob? // -// electrum swaps efficiency // process stats.log local file -> map of realtime activity! // select oldest utxo first // handles <-> pubkeys, deal with offline pubkeys, reputations, bonds etc. diff --git a/iguana/exchanges/LP_signatures.c b/iguana/exchanges/LP_signatures.c index ca32089d5..42a20cc82 100644 --- a/iguana/exchanges/LP_signatures.c +++ b/iguana/exchanges/LP_signatures.c @@ -92,6 +92,10 @@ cJSON *LP_quotejson(struct LP_quoteinfo *qp) jaddnum(retjson,"price",price); } } + if ( qp->R.requestid != 0 ) + jaddnum(retjson,"requestid",qp->R.requestid); + if ( qp->R.quoteid != 0 ) + jaddnum(retjson,"quoteid",qp->R.quoteid); return(retjson); }