aboutsummaryrefslogtreecommitdiffstats
path: root/whisper/whisperv6/api_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'whisper/whisperv6/api_test.go')
-rw-r--r--whisper/whisperv6/api_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/whisper/whisperv6/api_test.go b/whisper/whisperv6/api_test.go
index 004a41c94..cdbc7fab5 100644
--- a/whisper/whisperv6/api_test.go
+++ b/whisper/whisperv6/api_test.go
@@ -22,8 +22,8 @@ import (
"testing"
"time"
+ mapset "github.com/deckarep/golang-set"
"github.com/ethereum/go-ethereum/common"
- set "gopkg.in/fatih/set.v0"
)
func TestMultipleTopicCopyInNewMessageFilter(t *testing.T) {
@@ -31,7 +31,7 @@ func TestMultipleTopicCopyInNewMessageFilter(t *testing.T) {
privateKeys: make(map[string]*ecdsa.PrivateKey),
symKeys: make(map[string][]byte),
envelopes: make(map[common.Hash]*Envelope),
- expirations: make(map[uint32]*set.SetNonTS),
+ expirations: make(map[uint32]mapset.Set),
peers: make(map[*Peer]struct{}),
messageQueue: make(chan *Envelope, messageQueueLimit),
p2pMsgQueue: make(chan *Envelope, messageQueueLimit),