diff options
author | Felix Lange <fjl@twurst.com> | 2016-11-28 09:22:03 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2016-11-28 18:37:13 +0800 |
commit | 91bceb4acee23b1c92b288dd3a301a98eba9f4d3 (patch) | |
tree | 505d52106fe4b5122b29ec570f6fd578a824bfea | |
parent | be746628c76a14f47fc9fc44d0bcf386dd7b6483 (diff) | |
download | dexon-91bceb4acee23b1c92b288dd3a301a98eba9f4d3.tar dexon-91bceb4acee23b1c92b288dd3a301a98eba9f4d3.tar.gz dexon-91bceb4acee23b1c92b288dd3a301a98eba9f4d3.tar.bz2 dexon-91bceb4acee23b1c92b288dd3a301a98eba9f4d3.tar.lz dexon-91bceb4acee23b1c92b288dd3a301a98eba9f4d3.tar.xz dexon-91bceb4acee23b1c92b288dd3a301a98eba9f4d3.tar.zst dexon-91bceb4acee23b1c92b288dd3a301a98eba9f4d3.zip |
ethclient: "addresses" -> "address" in filter query encoding
-rw-r--r-- | ethclient/ethclient.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |