jl777 8 years ago
parent
commit
68be612d50
  1. 3
      iguana/dpow/dpow_network.c

3
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;

Loading…
Cancel
Save