diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-08-22 22:15:10 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-08-22 22:15:10 +0800 |
commit | 894ade168d5ff09a0b6a9b9a04a0a6b58dcc58ce (patch) | |
tree | 9ecf2e0df53080fe6e9818779f344bebcdf3fef2 /test/utils/fill_scenarios.ts | |
parent | df274591f735d73fc1dc58ade30d46f6b14d4525 (diff) | |
download | dexon-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.ts | 4 |
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( |