mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 17:33:47 +00:00
whisper: fix linter problems
This commit is contained in:
parent
090b2b0c9b
commit
563643e66f
1 changed files with 4 additions and 4 deletions
|
|
@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue