Skip to content

Commit f30746a

Browse files
committed
Use unsigned constructor id
1 parent 5568e65 commit f30746a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyrogram/api/core/primitives/vector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def read(b: BytesIO, t: Object = None) -> list:
3535

3636
def __new__(cls, value: list, t: Object = None) -> bytes:
3737
return b"".join(
38-
[Int(cls.ID), Int(len(value))]
38+
[Int(cls.ID, False), Int(len(value))]
3939
+ [
4040
t(i) if t
4141
else i.write()

0 commit comments

Comments
 (0)