diff --git a/whisper/whisperv6/api_test.go b/whisper/whisperv6/api_test.go index fcc9e5e915..004a41c949 100644 --- a/whisper/whisperv6/api_test.go +++ b/whisper/whisperv6/api_test.go @@ -18,8 +18,8 @@ package whisperv6 import ( "bytes" - "testing" "crypto/ecdsa" + "testing" "time" "github.com/ethereum/go-ethereum/common" @@ -45,7 +45,7 @@ func TestMultipleTopicCopyInNewMessageFilter(t *testing.T) { t.Fatalf("Error generating symmetric key: %v", err) } api := PublicWhisperAPI{ - w: w, + w: w, lastUsed: make(map[string]time.Time), } @@ -54,7 +54,7 @@ func TestMultipleTopicCopyInNewMessageFilter(t *testing.T) { crit := Criteria{ SymKeyID: keyID, - Topics: []TopicType{TopicType(t1), TopicType(t2)}, + Topics: []TopicType{TopicType(t1), TopicType(t2)}, } _, err = api.NewMessageFilter(crit) @@ -75,4 +75,4 @@ func TestMultipleTopicCopyInNewMessageFilter(t *testing.T) { if !found { t.Fatalf("Could not find filter with both topics") } -} \ No newline at end of file +}