rpc, ui/qt/qwhisper, whisper, xeth: introduce complex topic filters
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user