Skip to content

Commit

Permalink
save keygen output in both keygen and resharing cases
Browse files Browse the repository at this point in the history
  • Loading branch information
aayush-rockx committed Feb 6, 2023
1 parent 653ecf6 commit 0321b07
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions dkg/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,8 @@ func (r *runner) ProcessMsg(msg *SignedMessage) (bool, error) {
return true, errors.Wrap(err, "protocol finished without blame or keygen result")
}

if !r.isResharing() {
if err := r.config.Storage.SaveKeyGenOutput(o.ProtocolOutput); err != nil {
return false, err
}
if err := r.config.Storage.SaveKeyGenOutput(o.ProtocolOutput); err != nil {
return false, err
}

if r.isResharing() {
Expand Down

0 comments on commit 0321b07

Please sign in to comment.