diff --git a/rpc/args.go b/rpc/args.go index 8df483f08..4bd48e6d6 100644 --- a/rpc/args.go +++ b/rpc/args.go @@ -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}