Skip to content

Commit

Permalink
Correct type of FilterParams.address (#1664)
Browse files Browse the repository at this point in the history
* Correct type of FilterParams.address

* Add changelog entry
  • Loading branch information
palango authored Jun 2, 2020
1 parent dc09a21 commit 225f27e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions newsfragments/1664.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Correct the type annotations of `FilterParams.address`
2 changes: 1 addition & 1 deletion web3/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class FormattersDict(TypedDict, total=False):


class FilterParams(TypedDict, total=False):
address: Union[Address, ChecksumAddress, List[ChecksumAddress]]
address: Union[Address, ChecksumAddress, List[Address], List[ChecksumAddress]]
blockHash: HexBytes
fromBlock: BlockIdentifier
toBlock: BlockIdentifier
Expand Down

0 comments on commit 225f27e

Please sign in to comment.