swarm/pss: Remove pss service leak in test

This commit is contained in:
lash 2019-02-05 12:24:47 +01:00
parent f413a3dbb2
commit b8157b53ae

View file

@ -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