mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
swarm/network: fix goroutone leaks in testInitialPeersMsg
This commit is contained in:
parent
67c06d9a96
commit
774540fe2b
1 changed files with 1 additions and 0 deletions
|
|
@ -154,6 +154,7 @@ func testInitialPeersMsg(t *testing.T, peerPO, peerDepth int) {
|
|||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
defer s.Stop()
|
||||
|
||||
// peerID to use in the protocol tester testExchange expect/trigger
|
||||
peerID := s.Nodes[0].ID()
|
||||
|
|
|
|||
Loading…
Reference in a new issue