提交 e252dae4 编写于 作者: P Péter Szilágyi

rpc: use nil topic wildcards instead of ""

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册