Skip to content

Commit

Permalink
mypy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fhenneke committed Aug 21, 2024
1 parent 21df534 commit 0ab8939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apis/web3api.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def get_settlement(self, transaction: TxData) -> dict[str, Any]:
"""
Decode settlement from transaction using the settlement contract.
"""
return self.get_settlement_from_calldata(transaction["input"])
return self.get_settlement_from_calldata(transaction["input"].hex())

def get_settlement_from_calldata(self, calldata: str) -> dict[str, Any]:
"""
Expand Down

0 comments on commit 0ab8939

Please sign in to comment.