Skip to content

Commit 5f13fcd

Browse files
committed
important wording
1 parent 09de477 commit 5f13fcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bittensor/utils/balance.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -862,10 +862,10 @@ def check_balance_amount(amount: Optional[Balance]) -> None:
862862
amount: The value to validate.
863863
864864
Returns:
865-
None if amount is Balance instance or None, otherwise raise error.
865+
None: Always returns None if validation passes.
866866
867867
Raises:
868-
BalanceTypeError: If `amount` is not an instance of Balance.
868+
BalanceTypeError: If amount is not a Balance instance and not None.
869869
"""
870870
if amount is None:
871871
return None

0 commit comments

Comments
 (0)