forked from cerc-io/plugeth
ethclient: "addresses" -> "address" in filter query encoding
This commit is contained in:
parent
be746628c7
commit
91bceb4ace
@ -287,7 +287,7 @@ func toFilterArg(q ethereum.FilterQuery) interface{} {
|
||||
arg := map[string]interface{}{
|
||||
"fromBlock": toBlockNumArg(q.FromBlock),
|
||||
"toBlock": toBlockNumArg(q.ToBlock),
|
||||
"addresses": q.Addresses,
|
||||
"address": q.Addresses,
|
||||
"topics": q.Topics,
|
||||
}
|
||||
if q.FromBlock == nil {
|
||||
|
Loading…
Reference in New Issue
Block a user