[sync] reduce error level when get block return error

pull/3422/head
Jacky Wang 4 years ago
parent c16c4bd9db
commit aad516fa39
No known key found for this signature in database
GPG Key ID: 1085CE5F4FF5842C
  1. 2
      api/service/syncing/syncing.go

@ -501,7 +501,7 @@ func (ss *StateSync) downloadBlocks(bc *core.BlockChain) {
} }
payload, err := peerConfig.GetBlocks(tasks.blockHashes()) payload, err := peerConfig.GetBlocks(tasks.blockHashes())
if err != nil { if err != nil {
utils.Logger().Error().Err(err). utils.Logger().Warn().Err(err).
Str("peerID", peerConfig.ip). Str("peerID", peerConfig.ip).
Str("port", peerConfig.port). Str("port", peerConfig.port).
Msg("[SYNC] downloadBlocks: GetBlocks failed") Msg("[SYNC] downloadBlocks: GetBlocks failed")

Loading…
Cancel
Save