Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenButtolph committed May 13, 2024
1 parent f44b492 commit d6e99b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion network/peer/peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ func (p *peer) sendNetworkMessages() {
zap.Stringer("messageOp", message.GetPeerListOp),
zap.Error(err),
)
continue
return
}

p.Send(p.onClosingCtx, msg)
Expand Down Expand Up @@ -838,6 +838,7 @@ func (p *peer) handlePing(msg *p2p.Ping) {
zap.Stringer("messageOp", message.PongOp),
zap.Error(err),
)
p.StartClose()
return
}

Expand Down

0 comments on commit d6e99b5

Please sign in to comment.