rpc: use nil topic wildcards instead of ""

This commit is contained in:
Péter Szilágyi committed 2015-04-28 10:49:04 +03:00
1 parent db615a85ec
commit e252dae499
1 file changed
+1 -1
+1 -1
View File
@@ -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}