From 6caad902a8183983c82cfe8513bb8f3aee828e01 Mon Sep 17 00:00:00 2001 From: Benjamin Himes Date: Mon, 10 Mar 2025 18:37:01 +0200 Subject: [PATCH] Allows childkey take of 0. --- bittensor_cli/src/commands/stake/children_hotkeys.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bittensor_cli/src/commands/stake/children_hotkeys.py b/bittensor_cli/src/commands/stake/children_hotkeys.py index 89b5ade4f..a19bf5af3 100644 --- a/bittensor_cli/src/commands/stake/children_hotkeys.py +++ b/bittensor_cli/src/commands/stake/children_hotkeys.py @@ -190,7 +190,7 @@ async def set_childkey_take_extrinsic( f":satellite: Setting childkey take on [white]{subtensor.network}[/white] ..." ): try: - if 0 < take <= 0.18: + if 0 <= take <= 0.18: take_u16 = float_to_u16(take) else: return False, "Invalid take value"