From 62459ad41243bd9a5b6f8b06e5f1e78cbaf51802 Mon Sep 17 00:00:00 2001 From: ycen Date: Wed, 22 Dec 2021 19:30:08 +0800 Subject: [PATCH 1/2] Fix for ECDSA keygen test --- ecdsa/keygen/local_party_test.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ecdsa/keygen/local_party_test.go b/ecdsa/keygen/local_party_test.go index f61636b9..896aa5fd 100644 --- a/ecdsa/keygen/local_party_test.go +++ b/ecdsa/keygen/local_party_test.go @@ -249,10 +249,7 @@ keygen: u := new(big.Int) for j, Pj := range parties { pShares := make(vss.Shares, 0) - for j2, P := range parties { - if j2 == j { - continue - } + for _, P := range parties { vssMsgs := P.temp.kgRound2Message1s share := vssMsgs[j].Content().(*KGRound2Message1).Share shareStruct := &vss.Share{ From b5c733d23a87f5319f16c13defe8514540ac7a5a Mon Sep 17 00:00:00 2001 From: ycen Date: Thu, 23 Dec 2021 11:01:51 +0800 Subject: [PATCH 2/2] Fix ECDSA keygen round2 message store --- ecdsa/keygen/round_2.go | 1 - 1 file changed, 1 deletion(-) diff --git a/ecdsa/keygen/round_2.go b/ecdsa/keygen/round_2.go index d1ebaf18..78935ca5 100644 --- a/ecdsa/keygen/round_2.go +++ b/ecdsa/keygen/round_2.go @@ -105,7 +105,6 @@ func (round *round2) Start() *tss.Error { round.temp.kgRound2Message1s[j] = r2msg1 continue } - round.temp.kgRound2Message1s[i] = r2msg1 round.out <- r2msg1 }