network: fix typo

Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
This commit is contained in:
Ekaterina Pavlova 2024-02-21 21:14:12 +03:00
parent 775c56e87e
commit 9b540770cd

View file

@ -296,7 +296,7 @@ func (s *Server) Start() {
}
// Shutdown disconnects all peers and stops listening. Calling it twice is a no-op,
// once stopped the same intance of the Server can't be started again by calling Start.
// once stopped the same instance of the Server can't be started again by calling Start.
func (s *Server) Shutdown() {
if !s.started.CompareAndSwap(true, false) {
return