From d16f0508bdae9941a0eb5e042bbade5078da1c00 Mon Sep 17 00:00:00 2001 From: Jacob Evans Date: Tue, 21 Nov 2017 14:57:08 +1100 Subject: totalZRXTransferAmount -> totalZRXTransferAmountRequired --- packages/0x.js/src/order_watcher/remaining_fillable_calculator.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages') diff --git a/packages/0x.js/src/order_watcher/remaining_fillable_calculator.ts b/packages/0x.js/src/order_watcher/remaining_fillable_calculator.ts index 45f60ada3..8141dd73c 100644 --- a/packages/0x.js/src/order_watcher/remaining_fillable_calculator.ts +++ b/packages/0x.js/src/order_watcher/remaining_fillable_calculator.ts @@ -38,8 +38,8 @@ export class RemainingFillableCalculator { } private hasSufficientFundsForFeeAndTransferAmount(): boolean { if (this._isMakerTokenZRX) { - const totalZRXTransferAmount = this._remainingMakerTokenAmount.plus(this._remainingMakerFeeAmount); - return this._transferrableMakerTokenAmount.gte(totalZRXTransferAmount); + const totalZRXTransferAmountRequired = this._remainingMakerTokenAmount.plus(this._remainingMakerFeeAmount); + return this._transferrableMakerTokenAmount.gte(totalZRXTransferAmountRequired); } else { const hasSufficientFundsForTransferAmount = this._transferrableMakerTokenAmount.gte( this._remainingMakerTokenAmount); -- cgit v1.2.3