Skip to content

Commit 4280071

Browse files
Update bittensor_cli/src/commands/stake/remove.py
Co-authored-by: Cameron Fairchild <[email protected]>
1 parent 0904784 commit 4280071

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bittensor_cli/src/commands/stake/remove.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ async def unstake(
248248
# Additional fields for safe unstaking
249249
if safe_staking:
250250
if subnet_info.is_dynamic:
251-
rate = amount_to_unstake_as_balance.rao / received_amount.rao
251+
rate = received_amount.rao / amount_to_unstake_as_balance.rao
252252
rate_with_tolerance = rate * (
253253
1 - rate_tolerance
254254
) # Rate only for display

0 commit comments

Comments
 (0)