aboutsummaryrefslogtreecommitdiffstats
path: root/whisper/whisperv5/peer_test.go
diff options
context:
space:
mode:
authorEli <elihanover@yahoo.com>2018-05-02 14:17:17 +0800
committerGuillaume Ballet <gballet@gmail.com>2018-05-02 14:17:17 +0800
commit9f6af6f812453f7ba30822606bb2a04ba8872ccb (patch)
tree10de4aef53ec6d7811747dc47b33d942f15752d9 /whisper/whisperv5/peer_test.go
parent1da33028ce88c4365d99471977098f4911fd38fa (diff)
downloadgo-tangerine-9f6af6f812453f7ba30822606bb2a04ba8872ccb.tar
go-tangerine-9f6af6f812453f7ba30822606bb2a04ba8872ccb.tar.gz
go-tangerine-9f6af6f812453f7ba30822606bb2a04ba8872ccb.tar.bz2
go-tangerine-9f6af6f812453f7ba30822606bb2a04ba8872ccb.tar.lz
go-tangerine-9f6af6f812453f7ba30822606bb2a04ba8872ccb.tar.xz
go-tangerine-9f6af6f812453f7ba30822606bb2a04ba8872ccb.tar.zst
go-tangerine-9f6af6f812453f7ba30822606bb2a04ba8872ccb.zip
whisper: Golint fixes in whisper packages (#16637)
Diffstat (limited to 'whisper/whisperv5/peer_test.go')
-rw-r--r--whisper/whisperv5/peer_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/whisper/whisperv5/peer_test.go b/whisper/whisperv5/peer_test.go
index bae2adb6f..051b52dcf 100644
--- a/whisper/whisperv5/peer_test.go
+++ b/whisper/whisperv5/peer_test.go
@@ -32,7 +32,7 @@ import (
"github.com/ethereum/go-ethereum/p2p/nat"
)
-var keys []string = []string{
+var keys = []string{
"d49dcf37238dc8a7aac57dc61b9fee68f0a97f062968978b9fafa7d1033d03a9",
"73fd6143c48e80ed3c56ea159fe7494a0b6b393a392227b422f4c3e8f1b54f98",
"119dd32adb1daa7a4c7bf77f847fb28730785aa92947edf42fdd997b54de40dc",
@@ -84,9 +84,9 @@ type TestNode struct {
var result TestData
var nodes [NumNodes]*TestNode
-var sharedKey []byte = []byte("some arbitrary data here")
+var sharedKey = []byte("some arbitrary data here")
var sharedTopic TopicType = TopicType{0xF, 0x1, 0x2, 0}
-var expectedMessage []byte = []byte("per rectum ad astra")
+var expectedMessage = []byte("per rectum ad astra")
// This test does the following:
// 1. creates a chain of whisper nodes,