We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 768dc35 commit 3b9c5ccCopy full SHA for 3b9c5cc
src/aleph/sdk/chains/common.py
@@ -73,6 +73,10 @@ async def sign_message(self, message: Dict) -> Dict:
73
message = self._setup_sender(message)
74
signature = await self.sign_raw(get_verification_buffer(message))
75
message["signature"] = signature.hex()
76
+
77
+ if not str(message['signature']).startswith('0x'):
78
+ message['signature'] = "0x" + message['signature']
79
80
return message
81
82
@abstractmethod
0 commit comments