Skip to content

Commit 313ba3f

Browse files
committed
Missing .decode() for runtime call
1 parent 42e3fd6 commit 313ba3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bittensor/core/async_subtensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2554,7 +2554,7 @@ async def subnet(
25542554
params=[netuid],
25552555
block_hash=block_hash,
25562556
)
2557-
subnet = DynamicInfo.from_dict(query)
2557+
subnet = DynamicInfo.from_dict(query.decode())
25582558
return subnet
25592559

25602560
async def subnet_exists(

0 commit comments

Comments
 (0)