From 55b8f862dfeabedc75df8b9997110bbb1d7c3aec Mon Sep 17 00:00:00 2001 From: crazyministr Date: Thu, 15 Feb 2024 19:14:22 +0000 Subject: [PATCH] coroutine was never awaited fix --- pytoniq/contract/wallets/wallet.py | 6 +++--- setup.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pytoniq/contract/wallets/wallet.py b/pytoniq/contract/wallets/wallet.py index 60bc79d..5862fd3 100644 --- a/pytoniq/contract/wallets/wallet.py +++ b/pytoniq/contract/wallets/wallet.py @@ -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): @@ -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): @@ -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') diff --git a/setup.py b/setup.py index 502fcea..c0ae207 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="pytoniq", - version="0.1.30", + version="0.1.31", author="Maksim Kurbatov", author_email="cyrbatoff@gmail.com", description="TON Blockchain SDK",