mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-07 02:02:18 +00:00
11 lines
347 B
Diff
11 lines
347 B
Diff
|
diff --git a/p2p/net/swarm/swarm_conn.go b/p2p/net/swarm/swarm_conn.go
|
||
|
index 0e79da1b..e770381a 100644
|
||
|
--- a/p2p/net/swarm/swarm_conn.go
|
||
|
+++ b/p2p/net/swarm/swarm_conn.go
|
||
|
@@ -130,6 +130,7 @@ func (c *Conn) start() {
|
||
|
|
||
|
// We only get an error here when the swarm is closed or closing.
|
||
|
if err != nil {
|
||
|
+ scope.Done()
|
||
|
return
|
||
|
}
|