We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37f57f5 commit 7050309Copy full SHA for 7050309
bittensor/core/extrinsics/staking.py
@@ -112,7 +112,7 @@ def add_stake_extrinsic(
112
113
if safe_staking:
114
pool = subtensor.subnet(netuid=netuid)
115
- recieved_amount, _ = pool.alpha_to_tao_with_slippage(staking_balance)
+ recieved_amount, _ = pool.tao_to_alpha_with_slippage(staking_balance)
116
base_price = recieved_amount.rao / staking_balance.rao
117
price_with_tolerance = base_price * (1 + rate_tolerance)
118
0 commit comments