ethclient: "addresses" -> "address" in filter query encoding

pull/3355/head
Felix Lange 8 years ago
parent be746628c7
commit 91bceb4ace
  1. 2
      ethclient/ethclient.go

@ -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…
Cancel
Save