Skip to content

Commit

Permalink
Merge pull request #1583 from onflow/jordan/hf-reactor-check-dkg-key-bug
Browse files Browse the repository at this point in the history
Fixes a bug where DKG validation would continue after encountering a fatal error
  • Loading branch information
jordanschalm committed Nov 5, 2021
2 parents 192cd83 + 0565d23 commit c00b407
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engine/consensus/dkg/reactor_engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ func (e *ReactorEngine) EpochCommittedPhaseStarted(currentEpochCounter uint64, f
nextDKGPubKey, err := nextDKG.KeyShare(dkgPrivInfo.NodeID)
if err != nil {
e.log.Err(err).Msg("checking DKG key consistency: could not retrieve DKG public key for next epoch")
return
}

localPubKey := dkgPrivInfo.RandomBeaconPrivKey.PublicKey()
Expand Down

0 comments on commit c00b407

Please sign in to comment.