def signZeroExOrder(self, order, privateKey):
    orderHash = self.getZeroExOrderHash(order)
    signature = self.signMessage(orderHash[(- 64):], privateKey)
    return self.extend(order, {'orderHash': orderHash, 'ecSignature': signature})
def signZeroExOrder(self, order, privateKey):
    orderHash = self.getZeroExOrderHash(order)
    signature = self.signMessage(orderHash[(- 64):], privateKey)
    return self.extend(order, {'orderHash': orderHash, 'ecSignature': signature})