Skip to content

Commit

Permalink
Ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
thewhaleking committed Sep 22, 2024
1 parent 7eebab9 commit 710f04a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions bittensor_cli/src/commands/wallets.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ async def _get_total_balance(
(
await subtensor.get_balance(
*(x.coldkeypub.ss58_address for x in _balance_cold_wallets),
block_hash=block_hash
block_hash=block_hash,
)
).values()
)
Expand Down Expand Up @@ -610,8 +610,12 @@ async def overview(

coldkeys_to_check = []
ck_stakes = await subtensor.get_total_stake_for_coldkey(
*(coldkey_wallet.coldkeypub.ss58_address for coldkey_wallet in all_coldkey_wallets if coldkey_wallet.coldkeypub),
block_hash=block_hash
*(
coldkey_wallet.coldkeypub.ss58_address
for coldkey_wallet in all_coldkey_wallets
if coldkey_wallet.coldkeypub
),
block_hash=block_hash,
)
for coldkey_wallet in all_coldkey_wallets:
if coldkey_wallet.coldkeypub:
Expand Down

0 comments on commit 710f04a

Please sign in to comment.