aboutsummaryrefslogtreecommitdiffstats
path: root/whisper/whisper_test.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-04-21 23:31:08 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-04-28 15:49:04 +0800
commitae4bfc3cfb3f1debad9dd0211950ce09038ffa90 (patch)
treed09f6c0291eab1b02cc1145b816542024e7c4bfa /whisper/whisper_test.go
parent15586368e52f49a0f7ea28f890af49d196760846 (diff)
downloaddexon-ae4bfc3cfb3f1debad9dd0211950ce09038ffa90.tar
dexon-ae4bfc3cfb3f1debad9dd0211950ce09038ffa90.tar.gz
dexon-ae4bfc3cfb3f1debad9dd0211950ce09038ffa90.tar.bz2
dexon-ae4bfc3cfb3f1debad9dd0211950ce09038ffa90.tar.lz
dexon-ae4bfc3cfb3f1debad9dd0211950ce09038ffa90.tar.xz
dexon-ae4bfc3cfb3f1debad9dd0211950ce09038ffa90.tar.zst
dexon-ae4bfc3cfb3f1debad9dd0211950ce09038ffa90.zip
rpc, ui/qt/qwhisper, whisper, xeth: introduce complex topic filters
Diffstat (limited to 'whisper/whisper_test.go')
-rw-r--r--whisper/whisper_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/whisper/whisper_test.go b/whisper/whisper_test.go
index def8e68d8..8fce0e036 100644
--- a/whisper/whisper_test.go
+++ b/whisper/whisper_test.go
@@ -129,7 +129,7 @@ func testBroadcast(anonymous bool, t *testing.T) {
dones[i] = done
targets[i].Watch(Filter{
- Topics: NewTopicsFromStrings("broadcast topic"),
+ Topics: NewTopicFilterFromStrings([]string{"broadcast topic"}),
Fn: func(msg *Message) {
close(done)
},