From 0c8d72d8c79f0432c1a263d58d497b377f599ec9 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 24 Nov 2017 13:30:59 +0400 Subject: [PATCH] Test --- iguana/exchanges/LP_nativeDEX.c | 3 +-- iguana/exchanges/LP_zeroconf.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/iguana/exchanges/LP_nativeDEX.c b/iguana/exchanges/LP_nativeDEX.c index 85187706e..aced90d80 100644 --- a/iguana/exchanges/LP_nativeDEX.c +++ b/iguana/exchanges/LP_nativeDEX.c @@ -21,12 +21,11 @@ // alice waiting for bestprice // USD paxprice based USDvalue in portfolio // cancel bid/ask +// delay swap credit back until notarization // electrum dynamic trust over 1000 // https://github.com/bitcoin/bips/blob/master/bip-0143.mediawiki for signing BCH/BTG // -// delay swap credit back until notarization // bugs, validations: -// remove LP_utxo_bestfit from portfolio // portfolio value based on ask? // verify encrypted destpubkey, broadcast:0 setprice diff --git a/iguana/exchanges/LP_zeroconf.c b/iguana/exchanges/LP_zeroconf.c index 11aedbbc4..c9b07fb9d 100644 --- a/iguana/exchanges/LP_zeroconf.c +++ b/iguana/exchanges/LP_zeroconf.c @@ -198,7 +198,7 @@ void LP_zeroconf_credit(int32_t dispflag,char *coinaddr,int64_t satoshis,int32_t if ( coin != 0 ) { timestamp = LP_FIRSTWEEKTIME + weeki*LP_WEEKMULT; - if ( time(NULL) < timestamp-24*3600 && (ap= LP_address(coin,coinaddr)) != 0 ) + if ( time(NULL) < timestamp-60*3600 && (ap= LP_address(coin,coinaddr)) != 0 ) { ap->zeroconf_credits += satoshis; if ( dispflag != 0 )