From a8b8b46291a494deb80e1465dc8291f98f30336d Mon Sep 17 00:00:00 2001 From: Jannik Luhn Date: Thu, 9 May 2019 19:53:51 +0200 Subject: [PATCH] Revert to old style type hints --- eth_keys/datatypes.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eth_keys/datatypes.py b/eth_keys/datatypes.py index ab195bc..600cabd 100644 --- a/eth_keys/datatypes.py +++ b/eth_keys/datatypes.py @@ -257,8 +257,8 @@ def sign_msg_hash_non_recoverable(self, message_hash: bytes) -> 'NonRecoverableS class BaseSignature(ByteString, LazyBackend, ABC): - _r: int = None - _s: int = None + _r = None # type: int + _s = None # type: int def __init__(self, rs: Tuple[int, int], @@ -345,7 +345,7 @@ def verify_msg_hash(self, class Signature(BaseSignature): - _v: int = None + _v = None # type: int def __init__(self, signature_bytes: bytes = None,