Fix lint errors

This commit is contained in:
Brandon Millman
2018-08-09 19:10:57 -04:00
parent af52598d32
commit b86210332f
4 changed files with 6 additions and 11 deletions

View File

@@ -37,7 +37,7 @@ export const sortingUtils = {
*/
sortFeeOrdersByFeeAdjustedRate(signedFeeOrders: SignedOrder[]): SignedOrder[] {
assert.doesConformToSchema('signedFeeOrders', signedFeeOrders, schemas.signedOrdersSchema);
const rateCalculator = rateUtils.getFeeAdjustedRateOfFeeOrder;
const rateCalculator = rateUtils.getFeeAdjustedRateOfFeeOrder.bind(rateUtils);
const sortedOrders = sortOrders(signedFeeOrders, rateCalculator);
return sortedOrders;
},