def __bytes__(self):
    nbytes = math.ceil((bitcoin_curve.nlen / 8))
    return (self.r.to_bytes(nbytes, 'big') + self.s.to_bytes(nbytes, 'big'))
def __bytes__(self):
    nbytes = math.ceil((bitcoin_curve.nlen / 8))
    return (self.r.to_bytes(nbytes, 'big') + self.s.to_bytes(nbytes, 'big'))