Skip to content

Commit

Permalink
fix fmt error message
Browse files Browse the repository at this point in the history
  • Loading branch information
ibraheem-opentensor committed Feb 13, 2025
1 parent eac378b commit a1ef763
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bittensor_cli/src/commands/stake/add.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ async def safe_stake_extrinsic(
return
else:
err_out(
f"\n{failure_prelude} with error: {format_error_message(e, subtensor.substrate)}"
f"\n{failure_prelude} with error: {format_error_message(e)}"
)
return
else:
Expand Down Expand Up @@ -181,7 +181,7 @@ async def stake_extrinsic(
)
except SubstrateRequestException as e:
err_out(
f"\n{failure_prelude} with error: {format_error_message(e, subtensor.substrate)}"
f"\n{failure_prelude} with error: {format_error_message(e)}"
)
return
else:
Expand Down
2 changes: 1 addition & 1 deletion bittensor_cli/src/commands/stake/remove.py
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ async def _safe_unstake_extrinsic(
return
else:
err_out(
f"\n{failure_prelude} with error: {format_error_message(e, subtensor.substrate)}"
f"\n{failure_prelude} with error: {format_error_message(e)}"
)
return

Expand Down

0 comments on commit a1ef763

Please sign in to comment.