aboutsummaryrefslogtreecommitdiffstats
path: root/src/contract_wrappers
diff options
context:
space:
mode:
Diffstat (limited to 'src/contract_wrappers')
-rw-r--r--src/contract_wrappers/exchange_wrapper.ts7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts
index 73ec0886c..7fedf3183 100644
--- a/src/contract_wrappers/exchange_wrapper.ts
+++ b/src/contract_wrappers/exchange_wrapper.ts
@@ -282,10 +282,9 @@ export class ExchangeWrapper extends ContractWrapper {
orderFillOrKillRequestsSchema,
);
const exchangeInstance = await this.getExchangeContractAsync();
- _.each(orderFillOrKillRequests, request => {
- this.validateFillOrKillOrderAndThrowIfInvalidAsync(request.signedOrder,
- exchangeInstance.address,
- request.fillTakerAmount);
+ _.each(orderFillOrKillRequests, async request => {
+ await this.validateFillOrKillOrderAndThrowIfInvalidAsync(request.signedOrder, exchangeInstance.address,
+ request.fillTakerAmount);
});
const orderAddressesValuesAndTakerTokenFillAmounts = _.map(orderFillOrKillRequests, request => {