aboutsummaryrefslogtreecommitdiffstats
path: root/whisper/whisperv5/peer_test.go
diff options
context:
space:
mode:
authorgluk256 <gluk256@users.noreply.github.com>2017-02-14 22:44:47 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-02-14 22:44:47 +0800
commit15a609d5d6613e37e819975ceba01cb5ba735242 (patch)
tree1de23ad8c8d5885700164185f0d0d92f7ae95199 /whisper/whisperv5/peer_test.go
parent72dcd3c58bec0a281280d5d42ed53b6e429ce4af (diff)
downloaddexon-15a609d5d6613e37e819975ceba01cb5ba735242.tar
dexon-15a609d5d6613e37e819975ceba01cb5ba735242.tar.gz
dexon-15a609d5d6613e37e819975ceba01cb5ba735242.tar.bz2
dexon-15a609d5d6613e37e819975ceba01cb5ba735242.tar.lz
dexon-15a609d5d6613e37e819975ceba01cb5ba735242.tar.xz
dexon-15a609d5d6613e37e819975ceba01cb5ba735242.tar.zst
dexon-15a609d5d6613e37e819975ceba01cb5ba735242.zip
whisper: interface changed to simplify the transition to v5
* whisper: mailserver test introduced, refactoring * whisper: validation test updated * whisper: max number of peers fixed * whisper: verification bug fixed * whisper: esthetic fix * whisper: interface changed to simplify the transition to v5 * whisper: preparation for version switch
Diffstat (limited to 'whisper/whisperv5/peer_test.go')
-rw-r--r--whisper/whisperv5/peer_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/whisper/whisperv5/peer_test.go b/whisper/whisperv5/peer_test.go
index 34e2ec255..cc98ba2d6 100644
--- a/whisper/whisperv5/peer_test.go
+++ b/whisper/whisperv5/peer_test.go
@@ -116,7 +116,7 @@ func initialize(t *testing.T) {
for i := 0; i < NumNodes; i++ {
var node TestNode
- node.shh = NewWhisper(nil)
+ node.shh = New()
node.shh.test = true
node.shh.Start(nil)
topics := make([]TopicType, 0)