aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-09 21:52:18 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-09 21:52:18 +0800
commit9ffd36d57f2926629f8ca7e48ede87b2a6929ff9 (patch)
tree1834ef49d711b3813490eb64970f93c768a66e9e /src
parentdca572e74442534dc9f1bb853b2d8e9fe018639a (diff)
downloaddexon-sol-tools-9ffd36d57f2926629f8ca7e48ede87b2a6929ff9.tar
dexon-sol-tools-9ffd36d57f2926629f8ca7e48ede87b2a6929ff9.tar.gz
dexon-sol-tools-9ffd36d57f2926629f8ca7e48ede87b2a6929ff9.tar.bz2
dexon-sol-tools-9ffd36d57f2926629f8ca7e48ede87b2a6929ff9.tar.lz
dexon-sol-tools-9ffd36d57f2926629f8ca7e48ede87b2a6929ff9.tar.xz
dexon-sol-tools-9ffd36d57f2926629f8ca7e48ede87b2a6929ff9.tar.zst
dexon-sol-tools-9ffd36d57f2926629f8ca7e48ede87b2a6929ff9.zip
Use for of
Diffstat (limited to 'src')
-rw-r--r--src/contract_wrappers/exchange_wrapper.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts
index 7fedf3183..b1b21f873 100644
--- a/src/contract_wrappers/exchange_wrapper.ts
+++ b/src/contract_wrappers/exchange_wrapper.ts
@@ -282,10 +282,10 @@ export class ExchangeWrapper extends ContractWrapper {
orderFillOrKillRequestsSchema,
);
const exchangeInstance = await this.getExchangeContractAsync();
- _.each(orderFillOrKillRequests, async request => {
+ for (const request of orderFillOrKillRequests) {
await this.validateFillOrKillOrderAndThrowIfInvalidAsync(request.signedOrder, exchangeInstance.address,
request.fillTakerAmount);
- });
+ }
const orderAddressesValuesAndTakerTokenFillAmounts = _.map(orderFillOrKillRequests, request => {
return [