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

This commit is contained in:
Felix Lange 2016-11-28 02:22:03 +01:00
parent be746628c7
commit 91bceb4ace

View File

@ -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 {