diff options
author | Fabio Berger <me@fabioberger.com> | 2017-09-26 22:07:42 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-26 22:07:42 +0800 |
commit | 949fc2fc821f8e596a2f9c972db70e04d41bb0f6 (patch) | |
tree | d25a045b3b5d7cba28c8f8c919124f178587bf78 /test/utils/fill_scenarios.ts | |
parent | 3c40526bffcccbad2a64f92f69f3b6ec63946c88 (diff) | |
parent | 5f7afce49d0c2367fc2a7b2f45334d64469ef32f (diff) | |
download | dexon-sol-tools-949fc2fc821f8e596a2f9c972db70e04d41bb0f6.tar dexon-sol-tools-949fc2fc821f8e596a2f9c972db70e04d41bb0f6.tar.gz dexon-sol-tools-949fc2fc821f8e596a2f9c972db70e04d41bb0f6.tar.bz2 dexon-sol-tools-949fc2fc821f8e596a2f9c972db70e04d41bb0f6.tar.lz dexon-sol-tools-949fc2fc821f8e596a2f9c972db70e04d41bb0f6.tar.xz dexon-sol-tools-949fc2fc821f8e596a2f9c972db70e04d41bb0f6.tar.zst dexon-sol-tools-949fc2fc821f8e596a2f9c972db70e04d41bb0f6.zip |
Merge pull request #170 from 0xProject/addOrderValidation
Add validateOrderFillableOrThrowAsync Method
Diffstat (limited to 'test/utils/fill_scenarios.ts')
-rw-r--r-- | test/utils/fill_scenarios.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/utils/fill_scenarios.ts b/test/utils/fill_scenarios.ts index 563415a48..e305759f6 100644 --- a/test/utils/fill_scenarios.ts +++ b/test/utils/fill_scenarios.ts @@ -62,7 +62,9 @@ export class FillScenarios { fillableAmount, fillableAmount, ); const shouldThrowOnInsufficientBalanceOrAllowance = false; - await this.zeroEx.exchange.fillOrderAsync(signedOrder, partialFillAmount, shouldThrowOnInsufficientBalanceOrAllowance, takerAddress); + await this.zeroEx.exchange.fillOrderAsync( + signedOrder, partialFillAmount, shouldThrowOnInsufficientBalanceOrAllowance, takerAddress, + ); return signedOrder; } private async createAsymmetricFillableSignedOrderWithFeesAsync( |