diff --git a/node/hello/hello.go b/node/hello/hello.go index 974d6e681..a3deb387a 100644 --- a/node/hello/hello.go +++ b/node/hello/hello.go @@ -78,6 +78,7 @@ func (hs *Service) SayHello(ctx context.Context, pid peer.ID) error { if err != nil { return err } + defer s.Close() hts := hs.cs.GetHeaviestTipSet() weight := hs.cs.Weight(hts)