Skip to content

Commit

Permalink
Merge pull request #157 from binance-chain/ecdsa-key-test-fix
Browse files Browse the repository at this point in the history
Fix for ECDSA keygen test
  • Loading branch information
yycen authored Dec 29, 2021
2 parents ec06b0a + b5c733d commit 30c5ee4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions ecdsa/keygen/local_party_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
1 change: 0 additions & 1 deletion ecdsa/keygen/round_2.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ func (round *round2) Start() *tss.Error {
round.temp.kgRound2Message1s[j] = r2msg1
continue
}
round.temp.kgRound2Message1s[i] = r2msg1
round.out <- r2msg1
}

Expand Down

0 comments on commit 30c5ee4

Please sign in to comment.