From 56f4044982ec9b82c72d794af67bf2f6ed4e0395 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 1 Apr 2016 14:25:57 -0600 Subject: [PATCH] test --- iguana/iguana777.c | 2 ++ iguana/iguana_bundles.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/iguana/iguana777.c b/iguana/iguana777.c index 66079cdfe..09f1743fe 100755 --- a/iguana/iguana777.c +++ b/iguana/iguana777.c @@ -471,6 +471,8 @@ void iguana_helper(void *arg) printf("helper missing param? %p %p\n",coin,bp); myfree(ptr,ptr->allocsize); } + if ( queue_size(&spendvectorsQ) != 0 ) + allcurrent = 0; if ( flag != 0 ) usleep(polltimeout * 250); else if ( allcurrent != 0 ) diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index b3e867a47..c6867749d 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -696,7 +696,7 @@ int32_t iguana_bundlefinish(struct iguana_info *coin,struct iguana_bundle *bp) if ( bp->startutxo == 0 ) { bp->startutxo = (uint32_t)time(NULL); - printf("spendvectorQ.%d\n",bp->hdrsi); + //printf("spendvectorQ.%d\n",bp->hdrsi); iguana_spendvectorsQ(coin,bp); } else if ( bp->utxofinish != 0 )