From cbda9230f648e6a0d23ec2facb973234c600f794 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 23 Nov 2017 15:27:29 +0400 Subject: [PATCH] Test --- iguana/exchanges/LP_zeroconf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/exchanges/LP_zeroconf.c b/iguana/exchanges/LP_zeroconf.c index f20d5e6df..e43e6f807 100644 --- a/iguana/exchanges/LP_zeroconf.c +++ b/iguana/exchanges/LP_zeroconf.c @@ -200,7 +200,7 @@ void LP_zeroconf_credit(char *coinaddr,uint64_t satoshis,int32_t weeki,char *p2s { ap->zeroconf_credits += satoshis; printf("ZEROCONF credit.(%s) %.8f weeki.%d (%s) -> sum %.8f\n",coinaddr,dstr(satoshis),weeki,p2shaddr,dstr(ap->zeroconf_credits)); - } else printf("couldnt create address.%s\n",coinaddr); + } } } @@ -264,7 +264,7 @@ int64_t LP_dynamictrust(bits256 pubkey,int64_t kmdvalue) if ( (sp= ptr->swap) != 0 && sp->finished == 0 && sp->expired == 0 ) swaps_kmdvalue += LP_kmdvalue(sp->Q.destcoin,sp->Q.destsatoshis); } - printf("%s zeroconf_credits %.8f vs (%.8f + current %.8f)\n",coinaddr,dstr(ap->zeroconf_credits),dstr(swaps_kmdvalue),dstr(kmdvalue)); + //printf("%s zeroconf_credits %.8f vs (%.8f + current %.8f)\n",coinaddr,dstr(ap->zeroconf_credits),dstr(swaps_kmdvalue),dstr(kmdvalue)); if ( ap->zeroconf_credits > swaps_kmdvalue+kmdvalue ) return(ap->zeroconf_credits - (swaps_kmdvalue+kmdvalue)); }