aboutsummaryrefslogtreecommitdiffstats
path: root/test/utils
diff options
context:
space:
mode:
authorLeonid <logvinov.leon@gmail.com>2017-08-23 20:42:45 +0800
committerGitHub <noreply@github.com>2017-08-23 20:42:45 +0800
commitd837e27739614ce6a132e8583409425f726bef89 (patch)
tree9ecf2e0df53080fe6e9818779f344bebcdf3fef2 /test/utils
parent51f2c46ed04474099de4c9c9f60f5caf4ea60937 (diff)
parent894ade168d5ff09a0b6a9b9a04a0a6b58dcc58ce (diff)
downloaddexon-sol-tools-d837e27739614ce6a132e8583409425f726bef89.tar
dexon-sol-tools-d837e27739614ce6a132e8583409425f726bef89.tar.gz
dexon-sol-tools-d837e27739614ce6a132e8583409425f726bef89.tar.bz2
dexon-sol-tools-d837e27739614ce6a132e8583409425f726bef89.tar.lz
dexon-sol-tools-d837e27739614ce6a132e8583409425f726bef89.tar.xz
dexon-sol-tools-d837e27739614ce6a132e8583409425f726bef89.tar.zst
dexon-sol-tools-d837e27739614ce6a132e8583409425f726bef89.zip
Merge pull request #127 from 0xProject/shouldThrowOnInsufficientBalanceOrAllowance
Fix the docs for shouldThrowOnInsufficientBalanceOrAllowance
Diffstat (limited to 'test/utils')
-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(