We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fe15075 + c16d9c0 commit 3140cc7Copy full SHA for 3140cc7
bittensor_cli/src/bittensor/subtensor_interface.py
@@ -2282,6 +2282,8 @@ async def get_subnet_ema_tao_inflow(
2282
params=[netuid],
2283
block_hash=block_hash,
2284
)
2285
+ if not value:
2286
+ return Balance.from_rao(0)
2287
_, raw_ema_value = value
2288
ema_value = fixed_to_float(raw_ema_value)
2289
return Balance.from_rao(ema_value)
0 commit comments