From a6fd1efddd3dbb3da7f39739694437954d579abc Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 24 Jun 2018 08:13:03 -1100 Subject: [PATCH] Fix --- iguana/exchanges/LP_include.h | 2 +- iguana/exchanges/LP_ordermatch.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_include.h b/iguana/exchanges/LP_include.h index e820e8e42..c0eafa3de 100644 --- a/iguana/exchanges/LP_include.h +++ b/iguana/exchanges/LP_include.h @@ -311,7 +311,7 @@ struct iguana_info // portfolio double price_kmd,force,perc,goal,goalperc,relvolume,rate; void *electrum; void *ctx; - uint64_t maxamount,kmd_equiv,balanceA,balanceB,valuesumA,valuesumB; + uint64_t maxamount,kmd_equiv,balanceA,balanceB,valuesumA,valuesumB,fillsatoshis; uint8_t pubkey33[33],zcash; int32_t privkeydepth,bobfillheight; void *curl_handle; portable_mutex_t curl_mutex; diff --git a/iguana/exchanges/LP_ordermatch.c b/iguana/exchanges/LP_ordermatch.c index bb454c167..faa9e98b1 100644 --- a/iguana/exchanges/LP_ordermatch.c +++ b/iguana/exchanges/LP_ordermatch.c @@ -1175,6 +1175,7 @@ printf("bob %s received REQUEST.(%s) mpnet.%d fill.%d gtc.%d\n",bits256_str(str, { printf("autofill created %s\n",txidstr); free(txidstr); + coin->fillsatoshis = satoshis; coin->bobfillheight = LP_getheight(¬arized,coin); } }