diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-04-22 22:24:35 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-04-28 15:49:04 +0800 |
commit | e252dae499a8c682c92527262cca01af337438aa (patch) | |
tree | bec7989b9c5115b040899f1886b1529b26fff0b0 /rpc/args.go | |
parent | db615a85ec000dab7f73a6d4b1b46428ba4acdee (diff) | |
download | go-tangerine-e252dae499a8c682c92527262cca01af337438aa.tar go-tangerine-e252dae499a8c682c92527262cca01af337438aa.tar.gz go-tangerine-e252dae499a8c682c92527262cca01af337438aa.tar.bz2 go-tangerine-e252dae499a8c682c92527262cca01af337438aa.tar.lz go-tangerine-e252dae499a8c682c92527262cca01af337438aa.tar.xz go-tangerine-e252dae499a8c682c92527262cca01af337438aa.tar.zst go-tangerine-e252dae499a8c682c92527262cca01af337438aa.zip |
rpc: use nil topic wildcards instead of ""
Diffstat (limited to 'rpc/args.go')
-rw-r--r-- | rpc/args.go | 2 |
1 files changed, 1 insertions, 1 deletions
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} |