From 68f1a472f294f17befa003cc45c310644b7178c4 Mon Sep 17 00:00:00 2001 From: Hugo Herter Date: Fri, 7 Jun 2024 23:55:07 +0200 Subject: [PATCH] Fix: Typing: Protocol AccountFromPrivateKey lacked method `sign_raw` --- src/aleph/sdk/types.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/aleph/sdk/types.py b/src/aleph/sdk/types.py index 2f57b280..8d17f4d4 100644 --- a/src/aleph/sdk/types.py +++ b/src/aleph/sdk/types.py @@ -32,5 +32,7 @@ class AccountFromPrivateKey(Account, Protocol): def __init__(self, private_key: bytes): ... + async def sign_raw(self, buffer: bytes) -> bytes: ... + GenericMessage = TypeVar("GenericMessage", bound=AlephMessage)