From aea2e0d42952092b6535555de784228185060a78 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 8 Apr 2016 16:23:36 -0500 Subject: [PATCH] test --- iguana/iguana_bundles.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index ef282222d..c2f5cbf1b 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -531,7 +531,9 @@ int32_t iguana_bundleissuemissing(struct iguana_info *coin,struct iguana_bundle } if ( (num= coin->peers.numranked) != 0 ) { - max = num;//log2(num * num) + 1; + if ( num > 64 ) + max = log2(num * num) + 1; + else max = num; if ( max < IGUANA_MINPEERS ) max = IGUANA_MINPEERS; if ( max > num )