From b9031ff41a6a0f010d2b046b8cd323f79dd43ce1 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 17 Apr 2016 20:29:49 -0500 Subject: [PATCH] test --- iguana/iguana_recv.c | 2 +- iguana/iguana_unspents.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/iguana/iguana_recv.c b/iguana/iguana_recv.c index 38274bdc5..e276ea912 100755 --- a/iguana/iguana_recv.c +++ b/iguana/iguana_recv.c @@ -1538,7 +1538,7 @@ int32_t iguana_processrecv(struct iguana_info *coin) // single threaded flag += iguana_processrecvQ(coin,&newhwm); //printf("reqhdrs\n"); flag += iguana_reqhdrs(coin); - if ( coin->RTheight != 0 ) + if ( coin->spendvectorsaved > 1 ) { if ( time(NULL) > coin->laststats+5 ) { diff --git a/iguana/iguana_unspents.c b/iguana/iguana_unspents.c index 82964abb1..f0495cbad 100755 --- a/iguana/iguana_unspents.c +++ b/iguana/iguana_unspents.c @@ -1846,6 +1846,7 @@ int32_t iguana_realtime_update(struct iguana_info *coin) coin->spendvectorsaved = 1; return(0); } + printf("spendvectorsaved.%u\n",coin->spendvectorsaved); if ( coin->spendvectorsaved <= 1 ) return(0); for (i=0; ibundlescount-1; i++)