Skip to content

Commit

Permalink
refactor: remove TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
leoni-q committed Apr 8, 2024
1 parent f6f0a1b commit 8e0731c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion backend/app/modules/common/crypto/eip1271.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@ def get_message_hash(address: str, safe_message_hash: str) -> str:
contract = GnosisSafe(
w3=w3, contract=w3.eth.contract(address=address, abi=abi.GNOSIS_SAFE)
)
# TODO adjust it for structured data EIP-712 OCT-1530
return f"0x{contract.get_message_hash(HexBytes(safe_message_hash)).hex()}"

0 comments on commit 8e0731c

Please sign in to comment.