Skip to content

Commit

Permalink
Core tests passing
Browse files Browse the repository at this point in the history
  • Loading branch information
kclowes committed May 5, 2021
1 parent 596ea47 commit ab914a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web3/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def _make_request(
async def _coro_make_request(
self, method: Union[RPCEndpoint, Callable[..., RPCEndpoint]], params: Any
) -> RPCResponse:
request_func = await self.provider.request_func(
request_func = self.provider.request_func(
self.web3,
self.middleware_onion)
self.logger.debug("Making request. Method: %s", method)
Expand Down
2 changes: 1 addition & 1 deletion web3/providers/async_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def middlewares(
# tuple(values) converts to MiddlewareOnion -> Tuple[Middleware, ...]
self._middlewares = tuple(values) # type: ignore

async def request_func(
def request_func(
self, web3: "Web3", outer_middlewares: MiddlewareOnion
) -> Callable[..., RPCResponse]:
# Placeholder - manager calls self.provider.request_func
Expand Down

0 comments on commit ab914a7

Please sign in to comment.