Skip to content

Commit fc51c58

Browse files
Fix remaining json_console usage from upstream merge
Migrated one more json_console.print_json call in proxy.py that came from upstream merge to use print_transaction_response instead.
1 parent cdb36cf commit fc51c58

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

bittensor_cli/src/commands/proxy.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -600,13 +600,10 @@ async def execute_announced(
600600
"You should rerun this command on an archive node endpoint."
601601
)
602602
if json_output:
603-
json_console.print_json(
604-
data={
605-
"success": False,
606-
"message": f"Unable to regenerate the call data using the latest runtime: {e}. "
607-
"You should rerun this command on an archive node endpoint.",
608-
"extrinsic_identifier": None,
609-
}
603+
print_transaction_response(
604+
False,
605+
f"Unable to regenerate the call data using the latest runtime: {e}. "
606+
"You should rerun this command on an archive node endpoint.",
610607
)
611608
return False
612609

0 commit comments

Comments
 (0)