Skip to content

Commit

Permalink
Fix for async push action, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
guilledk committed Jan 14, 2025
1 parent c405c41 commit 97cc6cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = 'py-leap'
version = '0.1a28'
version = '0.1a29'
packages = [{include = 'leap', from='src'}]
description = ''
authors = ['Guillermo Rodriguez <[email protected]>']
Expand Down
4 changes: 2 additions & 2 deletions src/leap/cleos.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ async def _a_push_tx(
res = {}
for i in range(1, retries + 1):
try:
return await self._apost(
'/v1/chain/push_transaction', is_async=True, json=tx)
return await self._async_post(
'/v1/chain/push_transaction', json=tx)

except ChainAPIError as err:
if i == retries: # that was last retry, raise
Expand Down

0 comments on commit 97cc6cc

Please sign in to comment.