mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 15:47:21 +00:00
ethclient: "addresses" -> "address" in filter query encoding
This commit is contained in:
parent
be746628c7
commit
91bceb4ace
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue