From 9b540770cd333b06b81e4a181b172983566db6ad Mon Sep 17 00:00:00 2001 From: Ekaterina Pavlova Date: Wed, 21 Feb 2024 21:14:12 +0300 Subject: [PATCH] network: fix typo Signed-off-by: Ekaterina Pavlova --- pkg/network/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/network/server.go b/pkg/network/server.go index b97cf2dd1..814d9e6f5 100644 --- a/pkg/network/server.go +++ b/pkg/network/server.go @@ -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