aboutsummaryrefslogtreecommitdiffstats
path: root/rpc
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
parentdb615a85ec000dab7f73a6d4b1b46428ba4acdee (diff)
downloaddexon-e252dae499a8c682c92527262cca01af337438aa.tar
dexon-e252dae499a8c682c92527262cca01af337438aa.tar.gz
dexon-e252dae499a8c682c92527262cca01af337438aa.tar.bz2
dexon-e252dae499a8c682c92527262cca01af337438aa.tar.lz
dexon-e252dae499a8c682c92527262cca01af337438aa.tar.xz
dexon-e252dae499a8c682c92527262cca01af337438aa.tar.zst
dexon-e252dae499a8c682c92527262cca01af337438aa.zip
rpc: use nil topic wildcards instead of ""
Diffstat (limited to 'rpc')
-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}