Skip to content

Commit

Permalink
txhash is not optionally returned from __fire - either it is or an ex…
Browse files Browse the repository at this point in the history
…ception was raised.
  • Loading branch information
derekpierre committed Mar 6, 2024
1 parent dc6cda3 commit 28f67f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atxm/machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def __get_signer(self, address: str) -> LocalAccount:
raise ValueError(f"Signer {address} not found")
return signer

def __fire(self, tx: AsyncTx, msg: str) -> Optional[TxHash]:
def __fire(self, tx: AsyncTx, msg: str) -> TxHash:
"""
Signs and broadcasts a transaction, handling RPC errors
and internal state changes.
Expand Down

0 comments on commit 28f67f4

Please sign in to comment.