Skip to content

Commit

Permalink
fix: missing await (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler authored Sep 22, 2024
1 parent c1543b9 commit 716787b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dank_mids/_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def start(self, batch: Union["_Batch", "DankBatch"]) -> None: # type: ignore [o
async def get_response(self) -> RPCResponse: # type: ignore [override]
if not self.should_batch:
logger.debug(f"bypassed, method is {self.method}")
return self.get_response_unbatched()
return await self.get_response_unbatched()

if self._started and not self._batch._started:
# NOTE: If we're already started, we filled a batch. Let's await it now so we can send something to the node.
Expand Down

0 comments on commit 716787b

Please sign in to comment.