aboutsummaryrefslogtreecommitdiffstats
path: root/whisper/whisper_test.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-04-22 17:50:48 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-04-28 15:49:04 +0800
commitdb615a85ec000dab7f73a6d4b1b46428ba4acdee (patch)
tree0ffc36dae8454fcbdcde7fa0d1e616365e87ad29 /whisper/whisper_test.go
parentae4bfc3cfb3f1debad9dd0211950ce09038ffa90 (diff)
downloadgo-tangerine-db615a85ec000dab7f73a6d4b1b46428ba4acdee.tar.gz
go-tangerine-db615a85ec000dab7f73a6d4b1b46428ba4acdee.tar.zst
go-tangerine-db615a85ec000dab7f73a6d4b1b46428ba4acdee.zip
ui/qt/qwhisper, whisper, xeth: polish topic filter, fix wildcards
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 8fce0e036..7c5067f51 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: NewTopicFilterFromStrings([]string{"broadcast topic"}),
+ Topics: NewFilterTopicsFromStringsFlat("broadcast topic"),
Fn: func(msg *Message) {
close(done)
},