aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/args.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-04-22 22:24:35 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-04-28 15:49:04 +0800
commite252dae499a8c682c92527262cca01af337438aa (patch)
treebec7989b9c5115b040899f1886b1529b26fff0b0 /rpc/args.go
parentdb615a85ec000dab7f73a6d4b1b46428ba4acdee (diff)
downloadgo-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.go2
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}