def _convertECSignatureToSignatureHex(self, signature):
    v = signature['v']
    if ((v != 27) and (v != 28)):
        v = (v + 27)
    return (((('0x' + self.remove_0x_prefix(hex(v))) + self.remove_0x_prefix(signature['r'])) + self.remove_0x_prefix(signature['s'])) + '03')
def _convertECSignatureToSignatureHex(self, signature):
    v = signature['v']
    if ((v != 27) and (v != 28)):
        v = (v + 27)
    return (((('0x' + self.remove_0x_prefix(hex(v))) + self.remove_0x_prefix(signature['r'])) + self.remove_0x_prefix(signature['s'])) + '03')