diff --git a/bittensor_cli/src/commands/stake/children_hotkeys.py b/bittensor_cli/src/commands/stake/children_hotkeys.py index c0a4914e4..ef50a5232 100644 --- a/bittensor_cli/src/commands/stake/children_hotkeys.py +++ b/bittensor_cli/src/commands/stake/children_hotkeys.py @@ -256,7 +256,7 @@ async def get_childkey_take(subtensor, hotkey: str, netuid: int) -> Optional[int params=[hotkey, netuid], ) if childkey_take_: - return int(childkey_take_.value) + return int(childkey_take_) except SubstrateRequestException as e: err_console.print(f"Error querying ChildKeys: {format_error_message(e)}")