diff options
author | Eli <elihanover@yahoo.com> | 2018-05-02 14:17:17 +0800 |
---|---|---|
committer | Guillaume Ballet <gballet@gmail.com> | 2018-05-02 14:17:17 +0800 |
commit | 9f6af6f812453f7ba30822606bb2a04ba8872ccb (patch) | |
tree | 10de4aef53ec6d7811747dc47b33d942f15752d9 /whisper/whisperv5/peer_test.go | |
parent | 1da33028ce88c4365d99471977098f4911fd38fa (diff) | |
download | dexon-9f6af6f812453f7ba30822606bb2a04ba8872ccb.tar dexon-9f6af6f812453f7ba30822606bb2a04ba8872ccb.tar.gz dexon-9f6af6f812453f7ba30822606bb2a04ba8872ccb.tar.bz2 dexon-9f6af6f812453f7ba30822606bb2a04ba8872ccb.tar.lz dexon-9f6af6f812453f7ba30822606bb2a04ba8872ccb.tar.xz dexon-9f6af6f812453f7ba30822606bb2a04ba8872ccb.tar.zst dexon-9f6af6f812453f7ba30822606bb2a04ba8872ccb.zip |
whisper: Golint fixes in whisper packages (#16637)
Diffstat (limited to 'whisper/whisperv5/peer_test.go')
-rw-r--r-- | whisper/whisperv5/peer_test.go | 6 |
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, |