Skip to content

Commit

Permalink
Fixed 'coroutine was never awaited' error (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav-Povolotsky authored Dec 8, 2023
1 parent 75d2fbf commit 8ce942b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytonlib/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ async def _raw_send_query(self, query_info, *args, **kwargs):

async def raw_create_and_send_query(self, destination, body, init_code=b'', init_data=b'', *args, **kwargs):
query_info = await self._raw_create_query(destination, body, init_code, init_data)
return self._raw_send_query(query_info)
return await self._raw_send_query(query_info)

async def raw_create_and_send_message(self, destination, body, initial_account_state=b'', *args, **kwargs):
# Very close to raw_create_and_send_query, but StateInit should be generated outside
Expand Down

0 comments on commit 8ce942b

Please sign in to comment.