From c8e0ca21318e2ad60b9c253b702b075f297e8ea4 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 29 May 2018 04:20:55 -1100 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 9df510f3e..c900edab7 100755 --- a/iguana/dpow/dpow_network.c +++ b/iguana/dpow/dpow_network.c @@ -1475,7 +1475,7 @@ int32_t dpow_crossconnected(uint64_t *badmaskp,struct dpow_block *bp,uint64_t be { for (n=j=0; jnumnotaries; j++) { - if ( (mask & bp->notaries[j].recvmask) != 0 ) + if ( ((1LL << j) & bestmask) != 0 && (mask & bp->notaries[j].recvmask) != 0 ) n++; } printf("%d ",n);