mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-03 08:37:37 +00:00
0f228896b0
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
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
|
|
}
|