From e1bad5841802ff46f1669a1688cd80da3aee281e Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 13 Sep 2016 09:16:27 -0300 Subject: [PATCH] test --- iguana/iguana_accept.c | 2 +- iguana/iguana_realtime.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/iguana/iguana_accept.c b/iguana/iguana_accept.c index c00c16246..274198296 100755 --- a/iguana/iguana_accept.c +++ b/iguana/iguana_accept.c @@ -121,7 +121,7 @@ void iguana_acceptloop(void *args) } if ( flag != 0 ) continue; - printf("NEWSOCK.%d for %x (%s)\n",sock,ipbits,ipaddr); + printf("%s NEWSOCK.%d for %x (%s)\n",coin->symbol,sock,ipbits,ipaddr); /*if ( (uint32_t)ipbits == myinfo->myaddr.myipbits ) { diff --git a/iguana/iguana_realtime.c b/iguana/iguana_realtime.c index 168da0545..6213da280 100755 --- a/iguana/iguana_realtime.c +++ b/iguana/iguana_realtime.c @@ -520,6 +520,7 @@ void iguana_RTreset(struct iguana_info *coin) #endif printf("%s RTreset %d\n",coin->symbol,coin->RTheight); coin->RTheight = coin->firstRTheight; + coin->RTcredits = coin->RTdebits = 0; } struct iguana_RTaddr *iguana_RTaddrfind(struct iguana_info *coin,uint8_t *rmd160,char *coinaddr)