aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/pss/forwarding_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'swarm/pss/forwarding_test.go')
-rw-r--r--swarm/pss/forwarding_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/swarm/pss/forwarding_test.go b/swarm/pss/forwarding_test.go
index 084688439..746d4dc40 100644
--- a/swarm/pss/forwarding_test.go
+++ b/swarm/pss/forwarding_test.go
@@ -12,7 +12,7 @@ import (
"github.com/ethereum/go-ethereum/p2p/protocols"
"github.com/ethereum/go-ethereum/swarm/network"
"github.com/ethereum/go-ethereum/swarm/pot"
- whisper "github.com/ethereum/go-ethereum/whisper/whisperv5"
+ whisper "github.com/ethereum/go-ethereum/whisper/whisperv6"
)
type testCase struct {
@@ -54,6 +54,7 @@ func TestForwardBasic(t *testing.T) {
kad := network.NewKademlia(base[:], network.NewKadParams())
ps := createPss(t, kad)
+ defer ps.Stop()
addPeers(kad, peerAddresses)
const firstNearest = depth * 2 // shallowest peer in the nearest neighbours' bin