From 09b0d67f05e570efe7a06dad0b90a5e0a15a1c76 Mon Sep 17 00:00:00 2001 From: Alexandru Popenta Date: Thu, 22 Feb 2024 12:06:28 +0200 Subject: [PATCH] change return type --- multiversx_sdk/wallet/user_keys.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/multiversx_sdk/wallet/user_keys.py b/multiversx_sdk/wallet/user_keys.py index 324e6f62..4a1bb3a3 100644 --- a/multiversx_sdk/wallet/user_keys.py +++ b/multiversx_sdk/wallet/user_keys.py @@ -5,7 +5,7 @@ USER_SEED_LENGTH) from multiversx_sdk.wallet.errors import (ErrBadPublicKeyLength, ErrBadSecretKeyLength) -from multiversx_sdk.wallet.interfaces import IAddress, ISignature +from multiversx_sdk.wallet.interfaces import ISignature class UserSecretKey: @@ -62,7 +62,7 @@ def verify(self, data: bytes, signature: ISignature) -> bool: except Exception: return False - def to_address(self, hrp: str) -> IAddress: + def to_address(self, hrp: str) -> Address: return Address(self.buffer, hrp) def hex(self) -> str: