jl777 8 years ago
parent
commit
66a538e671
  1. 7
      iguana/exchanges/LP_remember.c

7
iguana/exchanges/LP_remember.c

@ -921,6 +921,13 @@ cJSON *basilisk_remember(int64_t *KMDtotals,int64_t *BTCtotals,uint32_t requesti
finishedflag = basilisk_swap_isfinished(iambob,txids,sentflags,paymentspent,Apaymentspent,depositspent); finishedflag = basilisk_swap_isfinished(iambob,txids,sentflags,paymentspent,Apaymentspent,depositspent);
jaddnum(item,"requestid",requestid); jaddnum(item,"requestid",requestid);
jaddnum(item,"quoteid",quoteid); jaddnum(item,"quoteid",quoteid);
jaddnum(item,"iambob",iambob);
jaddstr(item,"bob",bob->symbol);
jaddnum(item,"bobamount",dstr(values[BASILISK_BOBPAYMENT]));
jaddnum(item,"bobtxfee",dstr(Btxfee));
jaddstr(item,"alice",alice->symbol);
jaddnum(item,"aliceamount",dstr(values[BASILISK_ALICEPAYMENT]));
jaddnum(item,"alicetxfee",dstr(Atxfee));
jadd(item,"txs",array); jadd(item,"txs",array);
array = cJSON_CreateArray(); array = cJSON_CreateArray();
for (i=0; i<sizeof(txnames)/sizeof(*txnames); i++) for (i=0; i<sizeof(txnames)/sizeof(*txnames); i++)

Loading…
Cancel
Save