Open shuijian-xu opened 4 years ago
Is the value of last bytes in bits the same as the value of len(raw_bytes)?
raw_bytes = target.to_bytes(32, 'big') raw_bytes = raw_bytes.lstrip(b'\x00')
Is the value of last bytes in bits the same as the value of len(raw_bytes)?
raw_bytes = target.to_bytes(32, 'big') raw_bytes = raw_bytes.lstrip(b'\x00')