We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efddf08 commit 66389e6Copy full SHA for 66389e6
bittensor_cli/src/commands/stake/remove.py
@@ -468,7 +468,7 @@ async def unstake_all(
468
try:
469
current_price = subnet_info.price.tao
470
rate = current_price
471
- received_amount = stake_amount * rate - stake_fee
+ received_amount = (stake_amount - stake_fee) * rate
472
473
if received_amount < Balance.from_tao(0):
474
print_error("Not enough Alpha to pay the transaction fee.")
0 commit comments