diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-04-21 23:31:08 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-04-28 15:49:04 +0800 |
commit | ae4bfc3cfb3f1debad9dd0211950ce09038ffa90 (patch) | |
tree | d09f6c0291eab1b02cc1145b816542024e7c4bfa /whisper/whisper_test.go | |
parent | 15586368e52f49a0f7ea28f890af49d196760846 (diff) | |
download | dexon-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.go | 2 |
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) }, |