aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/0x.js/src/utils/order_state_utils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/0x.js/src/utils/order_state_utils.ts b/packages/0x.js/src/utils/order_state_utils.ts
index 4d8f90f62..1fe5e3ae4 100644
--- a/packages/0x.js/src/utils/order_state_utils.ts
+++ b/packages/0x.js/src/utils/order_state_utils.ts
@@ -88,7 +88,7 @@ export class OrderStateUtils {
(transferrableFeeTokenAmount.greaterThanOrEqualTo(remainingFeeTokenAmount) &&
transferrableMakerTokenAmount.greaterThanOrEqualTo(remainingMakerTokenAmount) &&
signedOrder.makerTokenAddress !== zrxTokenAddress)) {
- remainingFillableMakerTokenAmount = transferrableMakerTokenAmount;
+ remainingFillableMakerTokenAmount = remainingMakerTokenAmount;
} else {
remainingFillableMakerTokenAmount = this.calculatePartiallyFillableMakerTokenAmount(
transferrableMakerTokenAmount, transferrableFeeTokenAmount, remainingMakerTokenAmount,