Skip to content

Commit 590bbaa

Browse files
authored
Merge pull request #45 from opentensor/update/vec-acc-id-type
Updates type for vec acc id
2 parents 39e9df2 + 3628c75 commit 590bbaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

async_substrate_interface/types.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ def _encode_scale(self, type_string, value: Any) -> bytes:
731731
## AccountId is a composite type with one, unnamed field
732732
return bytes.fromhex(ss58_decode(value, SS58_FORMAT))
733733

734-
elif type_string == "scale_info::151": # Vec<AccountId>
734+
elif type_string == "scale_info::152": # Vec<AccountId>
735735
if not isinstance(value, (list, tuple)):
736736
value = [value]
737737

0 commit comments

Comments
 (0)