Commit e252dae4 authored by Péter Szilágyi's avatar Péter Szilágyi

rpc: use nil topic wildcards instead of ""

parent db615a85
......@@ -1061,7 +1061,7 @@ func (args *WhisperFilterArgs) UnmarshalJSON(b []byte) (err error) {
for idx, field := range list {
switch value := field.(type) {
case nil:
topics[idx] = []string{""}
topics[idx] = []string{}
case string:
topics[idx] = []string{value}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment