Skip to content

Commit 91bceb4

Browse files
committed
ethclient: "addresses" -> "address" in filter query encoding
1 parent be74662 commit 91bceb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ethclient/ethclient.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ func toFilterArg(q ethereum.FilterQuery) interface{} {
287287
arg := map[string]interface{}{
288288
"fromBlock": toBlockNumArg(q.FromBlock),
289289
"toBlock": toBlockNumArg(q.ToBlock),
290-
"addresses": q.Addresses,
290+
"address": q.Addresses,
291291
"topics": q.Topics,
292292
}
293293
if q.FromBlock == nil {

0 commit comments

Comments
 (0)