Skip to content

Commit

Permalink
Resolve Typo in documentation. (#2444)
Browse files Browse the repository at this point in the history
* Resolve Typo in documentation.

* Add newsfragment for doc fix

Co-authored-by: kclowes <[email protected]>
  • Loading branch information
EricHuang0525 and kclowes authored Apr 27, 2022
1 parent eb8edd6 commit b1c9969
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/filters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ will return a new :class:`BlockFilter` object.
``TransactionFilter`` is a subclass of :class:`Filter`.

You can setup a filter for new blocks using ``web3.eth.filter('pending')`` which
will return a new :class:`BlockFilter` object.
will return a new :class:`TransactionFilter` object.

.. code-block:: python
Expand Down
1 change: 1 addition & 0 deletions newsfragments/2444.doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Doc fix: Pending transaction filter returns a ``TransactionFilter`` not a ``BlockFilter``

0 comments on commit b1c9969

Please sign in to comment.