mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
swarm/pss: Remove pss service leak in test
This commit is contained in:
parent
f413a3dbb2
commit
b8157b53ae
1 changed files with 1 additions and 0 deletions
|
|
@ -932,6 +932,7 @@ func TestPeerCapabilityMismatch(t *testing.T) {
|
||||||
Payload: &whisper.Envelope{},
|
Payload: &whisper.Envelope{},
|
||||||
}
|
}
|
||||||
ps := newTestPss(privkey, kad, nil)
|
ps := newTestPss(privkey, kad, nil)
|
||||||
|
defer ps.Stop()
|
||||||
|
|
||||||
// run the forward
|
// run the forward
|
||||||
// it is enough that it completes; trying to send to incapable peers would create segfault
|
// it is enough that it completes; trying to send to incapable peers would create segfault
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue