Skip to content

Commit 56495a2

Browse files
committed
Address comments from PR ethereum#3012
1 parent af8e5aa commit 56495a2

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

docs/middleware.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Sync middlewares include:
4040
Async middlewares include:
4141

4242
* ``gas_price_strategy``
43+
* ``name_to_address``
4344
* ``attrdict``
4445
* ``validation``
4546
* ``gas_estimate``
@@ -66,6 +67,7 @@ AttributeDict
6667
~~~~~~~~~~~~~~~~~~~~~
6768

6869
.. py:method:: web3.middleware.name_to_address_middleware
70+
web3.middleware.async_name_to_address_middleware
6971
7072
This middleware converts Ethereum Name Service (ENS) names into the
7173
address that the name points to. For example :meth:`w3.eth.send_transaction <web3.eth.Eth.send_transaction>` will

web3/middleware/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
geth_poa_middleware,
6767
)
6868
from .names import ( # noqa: F401
69+
async_name_to_address_middleware,
6970
name_to_address_middleware,
7071
)
7172
from .normalize_request_parameters import ( # noqa: F401

0 commit comments

Comments
 (0)