Skip to content

Commit 7050309

Browse files
committed
update call
1 parent 37f57f5 commit 7050309

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bittensor/core/extrinsics/staking.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def add_stake_extrinsic(
112112

113113
if safe_staking:
114114
pool = subtensor.subnet(netuid=netuid)
115-
recieved_amount, _ = pool.alpha_to_tao_with_slippage(staking_balance)
115+
recieved_amount, _ = pool.tao_to_alpha_with_slippage(staking_balance)
116116
base_price = recieved_amount.rao / staking_balance.rao
117117
price_with_tolerance = base_price * (1 + rate_tolerance)
118118

0 commit comments

Comments
 (0)