Skip to content

Commit

Permalink
fix(API): client accepts empty signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
fubuloubu committed Mar 12, 2024
1 parent 1f62100 commit d33d396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ape_safe/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def post_transaction(
b"",
)
)
post_dict: Dict = {"signature": signature.hex()}
post_dict: Dict = {"signature": signature.hex() if signature else None}

for key, value in tx_data.model_dump(by_alias=True, mode="json").items():
if isinstance(value, HexBytes):
Expand Down

0 comments on commit d33d396

Please sign in to comment.