rpc, ui/qt/qwhisper, whisper, xeth: introduce complex topic filters

This commit is contained in:
Péter Szilágyi
2015-04-28 10:49:04 +03:00
parent 15586368e5
commit ae4bfc3cfb
11 changed files with 372 additions and 58 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ func filterFromMap(opts map[string]interface{}) (f whisper.Filter) {
if topicList, ok := opts["topics"].(*qml.List); ok {
var topics []string
topicList.Convert(&topics)
f.Topics = whisper.NewTopicsFromStrings(topics...)
f.Topics = whisper.NewTopicFilterFromStringsFlat(topics...)
}
return