Skip to content

Commit

Permalink
fix: not close connection on rejected hello
Browse files Browse the repository at this point in the history
  • Loading branch information
b00f committed Jul 11, 2024
1 parent 7cac613 commit 4f91ef5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sync/handler_hello.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ func (handler *helloHandler) acknowledge(msg *message.HelloAckMessage, to peer.I

handler.sendTo(msg, to)
handler.peerSet.UpdateStatus(to, status.StatusBanned)
handler.network.CloseConnection(to)
} else {
handler.logger.Info("acknowledging hello message", "msg", msg,
"to", to)
Expand Down

0 comments on commit 4f91ef5

Please sign in to comment.