From f41d8396d3b0e4d5ec1fac693280ae37ad5cecd0 Mon Sep 17 00:00:00 2001 From: camfairchild Date: Wed, 18 Dec 2024 13:55:35 -0500 Subject: [PATCH] change error colouring wrapping --- bittensor_cli/src/bittensor/extrinsics/transfer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bittensor_cli/src/bittensor/extrinsics/transfer.py b/bittensor_cli/src/bittensor/extrinsics/transfer.py index 127fb488..df36b764 100644 --- a/bittensor_cli/src/bittensor/extrinsics/transfer.py +++ b/bittensor_cli/src/bittensor/extrinsics/transfer.py @@ -66,8 +66,8 @@ async def get_transfer_fee() -> Balance: except SubstrateRequestException as e: payment_info = {"partialFee": int(2e7)} # assume 0.02 Tao err_console.print( - f":cross_mark: [red]Failed to get payment info[/red]:[bold white]\n" - f" {format_error_message(e)}[/bold white]\n" + f":cross_mark: [red]Failed to get payment info[/red]:\n" + f" [bold white]{format_error_message(e)}[/bold white]\n" f" Defaulting to default transfer fee: {payment_info['partialFee']}" )