Skip to content

Commit d1ff95e

Browse files
committed
Fixes decoding acc ids
1 parent 1b108d7 commit d1ff95e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

async_substrate_interface/async_substrate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ async def decode_scale(
872872
else:
873873
if type_string == "scale_info::0": # Is an AccountId
874874
# Decode AccountId bytes to SS58 address
875-
return bytes.fromhex(ss58_decode(scale_bytes, SS58_FORMAT))
875+
return scale_bytes
876876
else:
877877
await self._wait_for_registry(_attempt, _retries)
878878
obj = decode_by_type_string(type_string, self.registry, scale_bytes)

0 commit comments

Comments
 (0)