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

3
iguana/dpow/dpow_network.c

@ -237,7 +237,10 @@ void dpow_ratify_update(struct supernet_info *myinfo,struct dpow_info *dp,struct
if ( bp->ratifysigmasks[1] == bp->pendingratifybestmask ) // have all sigs if ( bp->ratifysigmasks[1] == bp->pendingratifybestmask ) // have all sigs
{ {
if ( bp->state < 1000 ) if ( bp->state < 1000 )
{
dpow_sigscheck(myinfo,dp,bp,bp->myind,1,bp->pendingratifybestk,bp->pendingratifybestmask,bp->ratified_pubkeys,bp->numratified); dpow_sigscheck(myinfo,dp,bp,bp->myind,1,bp->pendingratifybestk,bp->pendingratifybestmask,bp->ratified_pubkeys,bp->numratified);
bp->state = 1000;
}
if ( bp->ratifysigmasks[0] == bp->pendingratifybestmask ) // have all sigs if ( bp->ratifysigmasks[0] == bp->pendingratifybestmask ) // have all sigs
{ {
if ( bp->state != 0xffffffff ) if ( bp->state != 0xffffffff )

Loading…
Cancel
Save