From 91bceb4acee23b1c92b288dd3a301a98eba9f4d3 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Mon, 28 Nov 2016 02:22:03 +0100 Subject: [PATCH] ethclient: "addresses" -> "address" in filter query encoding --- ethclient/ethclient.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethclient/ethclient.go b/ethclient/ethclient.go index 4f2c0bcfb..00edd90e1 100644 --- a/ethclient/ethclient.go +++ b/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 {