diff options
-rw-r--r-- | packages/0x.js/src/order_watcher/remaining_fillable_calculator.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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); |