Closed ly0 closed 7 months ago
.encode() will return 2 bytes when a one-byte encoded string is greater than 127, which will generate a wrong script.
.encode()
In [1]: chr(128).encode() Out[1]: b'\xc2\x80'
Thank you for the fix.
.encode()
will return 2 bytes when a one-byte encoded string is greater than 127, which will generate a wrong script.