From 06a4e0d4e2efd46cb1c9a9e9eebedae6bf74f020 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 14 Nov 2016 21:31:23 -0300 Subject: [PATCH] test --- iguana/dpow/dpow_network.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/dpow/dpow_network.c b/iguana/dpow/dpow_network.c index 20cef6041..3b7a59509 100755 --- a/iguana/dpow/dpow_network.c +++ b/iguana/dpow/dpow_network.c @@ -206,9 +206,9 @@ void dpow_ratify_update(struct supernet_info *myinfo,struct dpow_info *dp,struct if ( (bp->notaries[senderind].ratifysiglens[i][bestk]= siglens[i]) != 0 ) { memcpy(bp->notaries[senderind].ratifysigs[i][bestk],sigs[i],siglens[i]); - //if ( bestk == bp->pendingratifybestk && bestmask == bp->pendingratifybestmask ) + if ( bp->notaries[senderind].bestmask == bestmask ) bp->ratifysigmasks[i][bestk] |= (1LL << senderind); - //else bp->ratifysigmasks[i][bestk] &= ~(1LL << senderind); + else bp->ratifysigmasks[i][bestk] &= ~(1LL << senderind); } } }