From 68be612d5019967dda3e1d917171976fcfefc74a Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 13 Nov 2016 14:36:19 -0300 Subject: [PATCH] test --- iguana/dpow/dpow_network.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/iguana/dpow/dpow_network.c b/iguana/dpow/dpow_network.c index 50ddfd640..822a9e3ba 100755 --- a/iguana/dpow/dpow_network.c +++ b/iguana/dpow/dpow_network.c @@ -205,6 +205,9 @@ void dpow_ratify_update(struct supernet_info *myinfo,struct dpow_info *dp,struct } bp->ratifyrecvmask |= (1LL << senderind) | (1LL << bp->myind); bp->ratifybestmask = dpow_ratifybest(bp->ratifyrecvmask,bp,&bp->ratifybestk); + bp->notaries[bp->myind].ratifybestk = bp->ratifybestk; + bp->notaries[bp->myind].ratifybestmask = bp->ratifybestmask; + bp->notaries[bp->myind].ratifyrecvmask = bp->ratifyrecvmask; if ( bp->ratifybestk >= 0 ) { bp->notaries[bp->myind].ratifybestmask = bp->ratifybestmask;