Skip to content

Commit

Permalink
Merge pull request #246 from kcalvinalvin/2025-01-21-fix-log
Browse files Browse the repository at this point in the history
netsync: make log more specific
  • Loading branch information
kcalvinalvin authored Jan 21, 2025
2 parents 0138821 + 7906512 commit f6bb544
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions netsync/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -1380,8 +1380,8 @@ func (sm *SyncManager) handleHeadersMsg(hmsg *headersMsg) {
blockHash := blockHeader.BlockHash()
err := sm.chain.ProcessBlockHeader(blockHeader)
if err != nil {
log.Warnf("Received block header that does not "+
"properly connect to the chain from peer %s "+
log.Warnf("Received block header that did not "+
"pass verification from peer %s "+
"-- disconnecting", peer.Addr())
peer.Disconnect()
return
Expand Down

0 comments on commit f6bb544

Please sign in to comment.