Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kclowes committed Jun 4, 2021
1 parent 85bb477 commit 9ca55da
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion web3/providers/async_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ async def isConnected(self) -> bool:
class AsyncJSONBaseProvider(AsyncBaseProvider):
def __init__(self) -> None:
self.request_counter = itertools.count()
super().__init__()

async def encode_rpc_request(self, method: RPCEndpoint, params: Any) -> bytes:
rpc_dict = {
Expand Down
1 change: 1 addition & 0 deletions web3/tools/benchmark/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ def unlocked_account(w3: "Web3") -> ChecksumAddress:


async def async_unlocked_account(w3: Web3, w3_eth: Eth) -> ChecksumAddress:
# change w3_eth type to w3_eth: AsyncEth once AsyncEth reflects Eth
coinbase = await w3_eth.coinbase # type: ignore
w3.geth.personal.unlock_account(coinbase, KEYFILE_PW)
return coinbase
Expand Down

0 comments on commit 9ca55da

Please sign in to comment.