From 6b612618cf1a338c3bbf73b3e1a34db8ee3bdca5 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 14 Nov 2016 21:54:54 -0300 Subject: [PATCH] test --- iguana/dpow/dpow_network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/dpow/dpow_network.c b/iguana/dpow/dpow_network.c index 3b7a59509..56c9ec42f 100755 --- a/iguana/dpow/dpow_network.c +++ b/iguana/dpow/dpow_network.c @@ -240,7 +240,7 @@ void dpow_ratify_update(struct supernet_info *myinfo,struct dpow_info *dp,struct } } best = bestmatches; - if ( matchbestk >= i && bestmatches < bp->minsigs && matches >= bp->minsigs ) + if ( (bp->require0 == 0 || (bestmatches & 1) != 0) && matchbestk >= i && bestmatches < bp->minsigs && matches >= bp->minsigs ) { printf("bestmatches.%d (%d %llx) switch to matchmask (%d %llx)\n",bestmatches,ratifybestk,(long long)ratifybestmask,matchbestk,(long long)matchbestmask); ratifybestk = matchbestk;