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 5ad561f + 1d7d9ec commit e888669Copy full SHA for e888669
async_substrate_interface/utils/decoding.py
@@ -135,7 +135,10 @@ def concat_hash_len(key_hasher: str) -> int:
135
if len(param_types) - len(params) == 1:
136
item_key = dk[1]
137
if decode_ss58:
138
- if kts[kts.index(", ") + 2 : kts.index(")")] == "scale_info::0":
+ if (
139
+ isinstance(item_key[0], (tuple, list))
140
+ and kts[kts.index(", ") + 2 : kts.index(")")] == "scale_info::0"
141
+ ):
142
item_key = ss58_encode(bytes(item_key[0]), runtime.ss58_format)
143
else:
144
try:
0 commit comments