Skip to content

Commit e500398

Browse files
author
Roman
committed
update docstring for get_minimum_required_stake
1 parent 5b37b44 commit e500398

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

bittensor/core/async_subtensor.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1951,13 +1951,9 @@ async def get_hotkey_owner(
19511951
async def get_minimum_required_stake(self):
19521952
"""
19531953
Returns the minimum required stake for nominators in the Subtensor network.
1954-
This method retries the substrate call up to three times with exponential backoff in case of failures.
19551954
19561955
Returns:
19571956
Balance: The minimum required stake as a Balance object.
1958-
1959-
Raises:
1960-
Exception: If the substrate call fails after the maximum number of retries.
19611957
"""
19621958
result = await self.substrate.query(
19631959
module="SubtensorModule", storage_function="NominatorMinRequiredStake"

bittensor/core/subtensor.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1277,13 +1277,9 @@ def get_hotkey_owner(
12771277
def get_minimum_required_stake(self) -> Balance:
12781278
"""
12791279
Returns the minimum required stake for nominators in the Subtensor network.
1280-
This method retries the substrate call up to three times with exponential backoff in case of failures.
12811280
12821281
Returns:
1283-
Balance: The minimum required stake as a Balance object.
1284-
1285-
Raises:
1286-
Exception: If the substrate call fails after the maximum number of retries.
1282+
The minimum required stake as a Balance object in TAO.
12871283
"""
12881284
result = self.substrate.query(
12891285
module="SubtensorModule", storage_function="NominatorMinRequiredStake"

0 commit comments

Comments
 (0)