Skip to content

Commit 30c5ee4

Browse files
authored
Merge pull request #157 from binance-chain/ecdsa-key-test-fix
Fix for ECDSA keygen test
2 parents ec06b0a + b5c733d commit 30c5ee4

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

ecdsa/keygen/local_party_test.go

+1-4
Original file line numberDiff line numberDiff line change
@@ -249,10 +249,7 @@ keygen:
249249
u := new(big.Int)
250250
for j, Pj := range parties {
251251
pShares := make(vss.Shares, 0)
252-
for j2, P := range parties {
253-
if j2 == j {
254-
continue
255-
}
252+
for _, P := range parties {
256253
vssMsgs := P.temp.kgRound2Message1s
257254
share := vssMsgs[j].Content().(*KGRound2Message1).Share
258255
shareStruct := &vss.Share{

ecdsa/keygen/round_2.go

-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ func (round *round2) Start() *tss.Error {
105105
round.temp.kgRound2Message1s[j] = r2msg1
106106
continue
107107
}
108-
round.temp.kgRound2Message1s[i] = r2msg1
109108
round.out <- r2msg1
110109
}
111110

0 commit comments

Comments
 (0)