diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-10-05 14:46:54 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-10-05 14:46:54 +0800 |
commit | 0594667d36e1551f17ff8b409c47df196f9b1072 (patch) | |
tree | 6274b319a119a78fdf994ef79c049a3bca5f4aff /src | |
parent | cd16b35814a0f5e7708aa95ff30736c569800cb1 (diff) | |
download | dexon-sol-tools-0594667d36e1551f17ff8b409c47df196f9b1072.tar dexon-sol-tools-0594667d36e1551f17ff8b409c47df196f9b1072.tar.gz dexon-sol-tools-0594667d36e1551f17ff8b409c47df196f9b1072.tar.bz2 dexon-sol-tools-0594667d36e1551f17ff8b409c47df196f9b1072.tar.lz dexon-sol-tools-0594667d36e1551f17ff8b409c47df196f9b1072.tar.xz dexon-sol-tools-0594667d36e1551f17ff8b409c47df196f9b1072.tar.zst dexon-sol-tools-0594667d36e1551f17ff8b409c47df196f9b1072.zip |
Small reordering
Diffstat (limited to 'src')
-rw-r--r-- | src/utils/order_validation_utils.ts | 2 |
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); } |