Skip to content

Commit 41426a6

Browse files
committed
Also wrong on subnet_prices
1 parent 5b6c6c8 commit 41426a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bittensor/core/subtensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ def all_subnets(self, block: Optional[int] = None) -> Optional[list["DynamicInfo
455455
method="get_all_dynamic_info",
456456
block_hash=block_hash,
457457
)
458-
subnet_prices = self.get_subnet_prices()
458+
subnet_prices = self.get_subnet_prices(block=block)
459459
decoded = query.decode()
460460
for sn in decoded:
461461
sn.update({"price": subnet_prices.get(sn["netuid"], Balance.from_tao(0))})

0 commit comments

Comments
 (0)