Skip to content

Commit

Permalink
fix missing await
Browse files Browse the repository at this point in the history
  • Loading branch information
MHHukiewitz committed Aug 12, 2023
1 parent 2f1434e commit 0fa24ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/aleph/sdk/chains/sol.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ async def sign_message(self, message: Dict) -> Dict:
verif = get_verification_buffer(message)
sig = {
"publicKey": self.get_address(),
"signature": self.sign_raw(verif),
"signature": await self.sign_raw(verif),
}
message["signature"] = json.dumps(sig)
return message
Expand Down
2 changes: 1 addition & 1 deletion src/aleph/sdk/chains/tezos.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ async def sign_message(self, message: Dict) -> Dict:
verif = get_verification_buffer(message)
sig = {
"publicKey": self.get_public_key(),
"signature": self.sign_raw(verif),
"signature": await self.sign_raw(verif),
}

message["signature"] = json.dumps(sig)
Expand Down

0 comments on commit 0fa24ce

Please sign in to comment.