aboutsummaryrefslogtreecommitdiffstats
path: root/test/utils/fill_scenarios.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-08-22 22:15:10 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-08-22 22:15:10 +0800
commit894ade168d5ff09a0b6a9b9a04a0a6b58dcc58ce (patch)
tree9ecf2e0df53080fe6e9818779f344bebcdf3fef2 /test/utils/fill_scenarios.ts
parentdf274591f735d73fc1dc58ade30d46f6b14d4525 (diff)
downloaddexon-sol-tools-894ade168d5ff09a0b6a9b9a04a0a6b58dcc58ce.tar
dexon-sol-tools-894ade168d5ff09a0b6a9b9a04a0a6b58dcc58ce.tar.gz
dexon-sol-tools-894ade168d5ff09a0b6a9b9a04a0a6b58dcc58ce.tar.bz2
dexon-sol-tools-894ade168d5ff09a0b6a9b9a04a0a6b58dcc58ce.tar.lz
dexon-sol-tools-894ade168d5ff09a0b6a9b9a04a0a6b58dcc58ce.tar.xz
dexon-sol-tools-894ade168d5ff09a0b6a9b9a04a0a6b58dcc58ce.tar.zst
dexon-sol-tools-894ade168d5ff09a0b6a9b9a04a0a6b58dcc58ce.zip
Rename shouldCheckTransfer to shouldThrowOnInsufficientBalanceOrAllowance in tests
Diffstat (limited to 'test/utils/fill_scenarios.ts')
-rw-r--r--test/utils/fill_scenarios.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/utils/fill_scenarios.ts b/test/utils/fill_scenarios.ts
index bebf82fd8..563415a48 100644
--- a/test/utils/fill_scenarios.ts
+++ b/test/utils/fill_scenarios.ts
@@ -61,8 +61,8 @@ export class FillScenarios {
makerTokenAddress, takerTokenAddress, makerAddress, takerAddress,
fillableAmount, fillableAmount,
);
- const shouldCheckTransfer = false;
- await this.zeroEx.exchange.fillOrderAsync(signedOrder, partialFillAmount, shouldCheckTransfer, takerAddress);
+ const shouldThrowOnInsufficientBalanceOrAllowance = false;
+ await this.zeroEx.exchange.fillOrderAsync(signedOrder, partialFillAmount, shouldThrowOnInsufficientBalanceOrAllowance, takerAddress);
return signedOrder;
}
private async createAsymmetricFillableSignedOrderWithFeesAsync(