mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-21 23:39:26 +00:00
rpc: use nil topic wildcards instead of ""
This commit is contained in:
parent
db615a85ec
commit
e252dae499
1 changed files with 1 additions and 1 deletions
|
|
@ -1061,7 +1061,7 @@ func (args *WhisperFilterArgs) UnmarshalJSON(b []byte) (err error) {
|
||||||
for idx, field := range list {
|
for idx, field := range list {
|
||||||
switch value := field.(type) {
|
switch value := field.(type) {
|
||||||
case nil:
|
case nil:
|
||||||
topics[idx] = []string{""}
|
topics[idx] = []string{}
|
||||||
|
|
||||||
case string:
|
case string:
|
||||||
topics[idx] = []string{value}
|
topics[idx] = []string{value}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue