Skip to content

Commit c331bf0

Browse files
authored
Merge pull request #2845 from opentensor/fix/thewhaleking/update-docs-for-unstake-amount
Update docs for unstake amount
2 parents 0cccc49 + fb1f20a commit c331bf0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bittensor/core/async_subtensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4202,7 +4202,7 @@ async def unstake(
42024202
removed.
42034203
hotkey_ss58 (Optional[str]): The ``SS58`` address of the hotkey account to unstake from.
42044204
netuid (Optional[int]): The unique identifier of the subnet.
4205-
amount (Balance): The amount of TAO to unstake. If not specified, unstakes all.
4205+
amount (Balance): The amount of alpha to unstake. If not specified, unstakes all.
42064206
wait_for_inclusion (bool): Waits for the transaction to be included in a block.
42074207
wait_for_finalization (bool): Waits for the transaction to be finalized on the blockchain.
42084208
safe_staking (bool): If true, enables price safety checks to protect against fluctuating prices. The unstake

bittensor/core/subtensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3471,7 +3471,7 @@ def unstake(
34713471
removed.
34723472
hotkey_ss58 (Optional[str]): The ``SS58`` address of the hotkey account to unstake from.
34733473
netuid (Optional[int]): The unique identifier of the subnet.
3474-
amount (Balance): The amount of TAO to unstake. If not specified, unstakes all.
3474+
amount (Balance): The amount of alpha to unstake. If not specified, unstakes all.
34753475
wait_for_inclusion (bool): Waits for the transaction to be included in a block.
34763476
wait_for_finalization (bool): Waits for the transaction to be finalized on the blockchain.
34773477
safe_staking (bool): If true, enables price safety checks to protect against fluctuating prices. The unstake

0 commit comments

Comments
 (0)