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 260da85 + 9d3ca7f commit d588494Copy full SHA for d588494
bip-0328/_xpub.py
@@ -83,8 +83,8 @@ def deserialize_point(b: bytes) -> Point:
83
def bytes_to_point(point_bytes: bytes) -> Point:
84
header = point_bytes[0]
85
if header == 4:
86
- x = point_bytes = point_bytes[1:33]
87
- y = point_bytes = point_bytes[33:65]
+ x = point_bytes[1:33]
+ y = point_bytes[33:65]
88
return (int(binascii.hexlify(x), 16), int(binascii.hexlify(y), 16))
89
return deserialize_point(point_bytes)
90
0 commit comments