diff --git a/setup.cfg b/setup.cfg index 604a5d43..663977a4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -59,7 +59,7 @@ exclude = # PDF = ReportLab; RXP # Add here test requirements (semicolon/line-separated) testing = - aiomqtt + aiomqtt<=0.1.3 psutil pytest pytest-cov @@ -80,7 +80,7 @@ testing = isort flake8 mqtt = - aiomqtt + aiomqtt<=0.1.3 certifi Click nuls2 = diff --git a/src/aleph/sdk/chains/common.py b/src/aleph/sdk/chains/common.py index 9deda62d..8bcb4c59 100644 --- a/src/aleph/sdk/chains/common.py +++ b/src/aleph/sdk/chains/common.py @@ -1,3 +1,4 @@ +import logging from abc import ABC, abstractmethod from pathlib import Path from typing import Dict, Optional @@ -7,10 +8,9 @@ from aleph.sdk.conf import settings -import logging - logger = logging.getLogger(__name__) + def get_verification_buffer(message: Dict) -> bytes: """ Returns the verification buffer that Aleph nodes use to verify the signature of a message.