We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12db402 commit 189e3b5Copy full SHA for 189e3b5
src/aleph/sdk/types.py
@@ -6,7 +6,7 @@
6
7
__all__ = ("StorageEnum", "Account", "AccountFromPrivateKey", "GenericMessage")
8
9
-from aleph_message.models import AlephMessage
+from aleph_message.models import AlephMessage, Chain
10
11
12
class StorageEnum(str, Enum):
@@ -35,7 +35,7 @@ def get_public_key(self) -> str: ...
35
class AccountFromPrivateKey(Account, Protocol):
36
"""Only accounts that are initialized from a private key string are supported."""
37
38
- def __init__(self, private_key: bytes): ...
+ def __init__(self, private_key: bytes, chain: Chain): ...
39
40
async def sign_raw(self, buffer: bytes) -> bytes: ...
41
0 commit comments