Skip to content

Commit

Permalink
Force signature size
Browse files Browse the repository at this point in the history
  • Loading branch information
tvorogme committed May 10, 2024
1 parent 71cfff8 commit 99d8a11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tonpy/types/keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def sign(self, data: Union[bytes, str]) -> bytes:
if isinstance(data, str):
data = bytes.fromhex(data)

return self.key.sign(data)
return self.key.sign(data)[:128]


class Mnemonic:
Expand Down

0 comments on commit 99d8a11

Please sign in to comment.