From 0321b07ec73f78d70c793b46ba31319e5680e9f0 Mon Sep 17 00:00:00 2001 From: Aayush Gautam Date: Mon, 6 Feb 2023 20:51:25 +0800 Subject: [PATCH] save keygen output in both keygen and resharing cases --- dkg/runner.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/dkg/runner.go b/dkg/runner.go index b542ccc92..c0426b91a 100644 --- a/dkg/runner.go +++ b/dkg/runner.go @@ -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() {