Skip to content

Commit

Permalink
Adds missing error check
Browse files Browse the repository at this point in the history
  • Loading branch information
nkcr committed Apr 27, 2020
1 parent 9f50cdb commit e57db9a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dkg/pedersen/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ func (h *Handler) start(start *Start, from mino.Address,

// 1. Create the DKG
d, err := pedersen.NewDistKeyGenerator(suite, h.privKey, h.pubKeys, int(start.T))
if err != nil {
return xerrors.Errorf("failed to create new DKG: %v", err)
}
h.dkg = d

// 2. Send my Deals to the other nodes
Expand Down

0 comments on commit e57db9a

Please sign in to comment.