Skip to content

Commit

Permalink
Removes substrate call in format_error_message
Browse files Browse the repository at this point in the history
  • Loading branch information
thewhaleking committed Dec 16, 2024
1 parent a34920f commit 5fdb729
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bittensor/core/extrinsics/commit_reveal.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,7 @@ def _do_commit_reveal_v3(
if response.is_success:
return True, None
else:
return False, format_error_message(
response.error_message, substrate=self.substrate
)
return False, format_error_message(response.error_message)


def commit_reveal_v3_extrinsic(
Expand Down

0 comments on commit 5fdb729

Please sign in to comment.