Merge pull request #1531 from chaosma/master

disable state syncing debug log
pull/1533/head
chaosma 5 years ago committed by GitHub
commit a2aa64a0a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      api/service/syncing/syncing.go

@ -696,7 +696,7 @@ func (ss *StateSync) getMaxPeerHeight(isBeacon bool) uint64 {
go func() {
defer wg.Done()
//debug
utils.Logger().Debug().Bool("isBeacon", isBeacon).Str("IP", peerConfig.ip).Str("Port", peerConfig.port).Msg("[Sync]getMaxPeerHeight")
// utils.Logger().Debug().Bool("isBeacon", isBeacon).Str("IP", peerConfig.ip).Str("Port", peerConfig.port).Msg("[Sync]getMaxPeerHeight")
response, err := peerConfig.client.GetBlockChainHeight()
if err != nil {
utils.Logger().Warn().Err(err).Str("IP", peerConfig.ip).Str("Port", peerConfig.port).Msg("[Sync]GetBlockChainHeight failed")

Loading…
Cancel
Save