From 1659f308716a06d96cc65226974874d921d6104f Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 24 Oct 2017 17:58:43 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_nativeDEX.c | 4 ---- iguana/exchanges/LP_signatures.c | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) 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); }