Removing extra logging. No funcional change.

This commit is contained in:
Gustavo Frederico
2021-11-22 19:17:13 -05:00
parent f81d9700a2
commit 974d8cfd1a
3 changed files with 1 additions and 9 deletions

View File

@@ -50,10 +50,7 @@ func (round *sign4) Start() *tss.Error {
ok := ψʺij.Verify(round.EC(), round.key.PaillierPKs[j], Kj, Δj, round.temp.Γ, round.key.NTildei, round.key.H1i, round.key.H2i)
if !ok {
common.Logger.Debugf(" r4 proof verify failed - i: %v, Pj: %v, PKj: %v, Kj(C): %v, Δj(X): %v, Γ(g): %v, NTildei(NCap): %v, H1i(s): %v, H2i(t): %v",
i, Pj, common.FormatBigInt(round.key.PaillierPKs[j].N), common.FormatBigInt(Kj),
crypto.FormatECPoint(Δj), crypto.FormatECPoint(round.temp.Γ), common.FormatBigInt(round.key.NTildei),
common.FormatBigInt(round.key.H1i), common.FormatBigInt(round.key.H2i))
common.Logger.Debugf(" zkplogstar proof verify failed - i: %v, Pj: %v", i, Pj)
errChs <- round.WrapError(errors.New("proof verify failed"), Pj)
return
}
@@ -157,9 +154,7 @@ func (round *sign4) NextRound() tss.Round {
}
}
if round.AbortingSigning {
common.Logger.Debugf("party %v, r4 - next round is id prep", round.PartyID())
return &identificationPrep{round}
}
common.Logger.Debugf("party %v, r4 - next round is signout(5)", round.PartyID())
return &signout{round}
}

View File

@@ -43,7 +43,6 @@ func (round *signout) Start() *tss.Error {
round.started = true
round.resetOK()
common.Logger.Debugf("party %v, r5, AbortingSigning? %v", round.PartyID(), round.AbortingSigning)
// Fig 8. Output. combine signature shares verify and output
Sigma := round.temp.SigmaShare
modN := common.ModInt(round.Params().EC().Params().N)

View File

@@ -220,8 +220,6 @@ func BaseUpdate(p Party, msg ParsedMessage, task string, level int) (ok bool, er
}
p.unlock() // recursive so can't defer after return
return BaseUpdate(p, msg, task, level + 1) // re-run round update or finish)
} else { // TODO
common.Logger.Infof("party %s: %s round %d cannot proceed yet", p.Round().Params().PartyID(), task, p.Round().RoundNumber())
}
return r(true, nil)
}