Skip to content

Commit

Permalink
coroutine was never awaited fix
Browse files Browse the repository at this point in the history
  • Loading branch information
crazyministr committed Feb 15, 2024
1 parent 5c1aab2 commit 55b8f86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions pytoniq/contract/wallets/wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ async def create(cls, provider: LiteClientLike, wc: int = 0, wallet_id: typing.O
:param wallet_id: subwallet_id
:return: mnemonics and Wallet instance of provided version
"""
return super().create(provider=provider, wc=wc, wallet_id=wallet_id, version='v3r1')
return await super().create(provider=provider, wc=wc, wallet_id=wallet_id, version='v3r1')


class WalletV3R2(WalletV3):
Expand Down Expand Up @@ -333,7 +333,7 @@ async def create(cls, provider: LiteClientLike, wc: int = 0, wallet_id: typing.O
:param wallet_id: subwallet_id
:return: mnemonics and Wallet instance of provided version
"""
return super().create(provider=provider, wc=wc, wallet_id=wallet_id, version='v3r2')
return await super().create(provider=provider, wc=wc, wallet_id=wallet_id, version='v3r2')


class WalletV4R2(WalletV4):
Expand Down Expand Up @@ -361,4 +361,4 @@ async def create(cls, provider: LiteClientLike, wc: int = 0, wallet_id: typing.O
:param wallet_id: subwallet_id
:return: mnemonics and Wallet instance of provided version
"""
return super().create(provider=provider, wc=wc, wallet_id=wallet_id, version='v4r2')
return await super().create(provider=provider, wc=wc, wallet_id=wallet_id, version='v4r2')
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="pytoniq",
version="0.1.30",
version="0.1.31",
author="Maksim Kurbatov",
author_email="[email protected]",
description="TON Blockchain SDK",
Expand Down

0 comments on commit 55b8f86

Please sign in to comment.