Skip to content

Commit

Permalink
Revised compatible for old parties with no facProof
Browse files Browse the repository at this point in the history
  • Loading branch information
yycen committed Aug 9, 2023
1 parent 7308ecd commit 7f0e687
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ecdsa/keygen/round_3.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ func (round *round3) Start() *tss.Error {
}
facProof, err := r2msg1.UnmarshalFacProof()
if err != nil {
ch <- vssOut{errors.New("facProof verify failed"), nil}
// For old parties, the facProof could be not exist
// Not return error for compatibility reason
common.Logger.Fatalf("facProof not exist:%s", Ps[j])
return
}
if ok = facProof.Verify(round.EC(), round.save.PaillierPKs[j].N, round.save.NTildei,
Expand Down

0 comments on commit 7f0e687

Please sign in to comment.