aboutsummaryrefslogtreecommitdiffstats
path: root/ethclient/ethclient.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-11-28 09:22:03 +0800
committerFelix Lange <fjl@twurst.com>2016-11-28 18:37:13 +0800
commit91bceb4acee23b1c92b288dd3a301a98eba9f4d3 (patch)
tree505d52106fe4b5122b29ec570f6fd578a824bfea /ethclient/ethclient.go
parentbe746628c76a14f47fc9fc44d0bcf386dd7b6483 (diff)
downloaddexon-91bceb4acee23b1c92b288dd3a301a98eba9f4d3.tar.gz
dexon-91bceb4acee23b1c92b288dd3a301a98eba9f4d3.tar.zst
dexon-91bceb4acee23b1c92b288dd3a301a98eba9f4d3.zip
ethclient: "addresses" -> "address" in filter query encoding
Diffstat (limited to 'ethclient/ethclient.go')
-rw-r--r--ethclient/ethclient.go2
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 {