Removal of discV5 close in sub networks

This commit is contained in:
Rafael Sampaio 2024-09-18 18:40:26 -03:00
parent 145865d3c3
commit 68dbb1a6b2

View file

@ -265,7 +265,6 @@ func (p *PortalProtocol) Start() error {
func (p *PortalProtocol) Stop() {
p.cancelCloseCtx()
p.table.close()
p.DiscV5.Close()
err := p.utp.Close()
if err != nil {
p.Log.Error("failed to close utp listener", "err", err)