aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/utils/order_validation_utils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/order_validation_utils.ts b/src/utils/order_validation_utils.ts
index 160afc43e..0450d26a6 100644
--- a/src/utils/order_validation_utils.ts
+++ b/src/utils/order_validation_utils.ts
@@ -121,8 +121,8 @@ export class OrderValidationUtils {
}
if (!isMakerTokenZRX) {
- const isTakerTokenZRX = signedOrder.takerTokenAddress === zrxTokenAddress;
let makerZRXBalance = await this.tokenWrapper.getBalanceAsync(zrxTokenAddress, signedOrder.maker);
+ const isTakerTokenZRX = signedOrder.takerTokenAddress === zrxTokenAddress;
if (isTakerTokenZRX) {
makerZRXBalance = makerZRXBalance.plus(fillTakerAmount);
}