[debug] print out members

Signed-off-by: Leo Chen <leo@harmony.one>
pull/3386/head
Leo Chen 4 years ago
parent 1043207689
commit 45a7823ede
  1. 2
      consensus/consensus_service.go

@ -81,7 +81,7 @@ func (consensus *Consensus) UpdatePublicKeys(pubKeys []bls_cosi.PublicKeyWrapper
consensus.Decider.UpdateParticipants(pubKeys) consensus.Decider.UpdateParticipants(pubKeys)
utils.Logger().Info().Msg("My Committee updated") utils.Logger().Info().Msg("My Committee updated")
for i := range pubKeys { for i := range pubKeys {
utils.Logger().Debug(). utils.Logger().Info().
Int("index", i). Int("index", i).
Str("BLSPubKey", pubKeys[i].Bytes.Hex()). Str("BLSPubKey", pubKeys[i].Bytes.Hex()).
Msg("Member") Msg("Member")

Loading…
Cancel
Save