Skip to content

Commit 7ad84c2

Browse files
committed
ruff
1 parent 158feb2 commit 7ad84c2

File tree

1 file changed

+1
-3
lines changed
  • bittensor_cli/src/commands/stake

1 file changed

+1
-3
lines changed

bittensor_cli/src/commands/stake/add.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -349,9 +349,7 @@ async def stake_extrinsic(
349349
# If we are staking safe, add price tolerance
350350
if safe_staking:
351351
if subnet_info.is_dynamic:
352-
price_with_tolerance = current_price_float * (
353-
1 + rate_tolerance
354-
)
352+
price_with_tolerance = current_price_float * (1 + rate_tolerance)
355353
_rate_with_tolerance = (
356354
1.0 / price_with_tolerance
357355
) # Rate only for display

0 commit comments

Comments
 (0)