mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-13 11:36:37 +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{}{
|
arg := map[string]interface{}{
|
||||||
"fromBlock": toBlockNumArg(q.FromBlock),
|
"fromBlock": toBlockNumArg(q.FromBlock),
|
||||||
"toBlock": toBlockNumArg(q.ToBlock),
|
"toBlock": toBlockNumArg(q.ToBlock),
|
||||||
"addresses": q.Addresses,
|
"address": q.Addresses,
|
||||||
"topics": q.Topics,
|
"topics": q.Topics,
|
||||||
}
|
}
|
||||||
if q.FromBlock == nil {
|
if q.FromBlock == nil {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue