From 840d02208ce1496c33e9c056ea8694e9f25d5cf2 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 16 Nov 2016 09:31:34 -0300 Subject: [PATCH] test --- iguana/dpow/dpow_network.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/dpow/dpow_network.c b/iguana/dpow/dpow_network.c index 571925de6..4605fde88 100755 --- a/iguana/dpow/dpow_network.c +++ b/iguana/dpow/dpow_network.c @@ -227,8 +227,8 @@ void dpow_ratify_update(struct supernet_info *myinfo,struct dpow_info *dp,struct } if ( j == numdiff ) { - masks[counts[numdiff]] = bestmask; - bestks[counts[numdiff]] = bestk; + masks[numdiff] = bestmask; + bestks[numdiff] = bestk; counts[numdiff]++; numdiff++; } @@ -236,7 +236,7 @@ void dpow_ratify_update(struct supernet_info *myinfo,struct dpow_info *dp,struct besti = best_bestk = -1, best = 0; for (i=0; i best ) { best = counts[i];