diff options
author | Fabio Berger <me@fabioberger.com> | 2017-09-26 18:32:49 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-09-26 18:32:49 +0800 |
commit | 2148eb6d9901bbc34210df2e96542f71eef215f9 (patch) | |
tree | f8c5336342fed73a61b2ee1a4552e723283d579b | |
parent | d3f729dd7197b9c6c64c41740803a73488977ebc (diff) | |
download | dexon-sol-tools-2148eb6d9901bbc34210df2e96542f71eef215f9.tar dexon-sol-tools-2148eb6d9901bbc34210df2e96542f71eef215f9.tar.gz dexon-sol-tools-2148eb6d9901bbc34210df2e96542f71eef215f9.tar.bz2 dexon-sol-tools-2148eb6d9901bbc34210df2e96542f71eef215f9.tar.lz dexon-sol-tools-2148eb6d9901bbc34210df2e96542f71eef215f9.tar.xz dexon-sol-tools-2148eb6d9901bbc34210df2e96542f71eef215f9.tar.zst dexon-sol-tools-2148eb6d9901bbc34210df2e96542f71eef215f9.zip |
make opts optional
-rw-r--r-- | src/contract_wrappers/exchange_wrapper.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts index a53d33ca9..809bdebc5 100644 --- a/src/contract_wrappers/exchange_wrapper.ts +++ b/src/contract_wrappers/exchange_wrapper.ts @@ -633,7 +633,7 @@ export class ExchangeWrapper extends ContractWrapper { * to validate for. */ public async validateOrderFillableOrThrowAsync( - signedOrder: SignedOrder, opts: ValidateOrderFillableOpts, + signedOrder: SignedOrder, opts?: ValidateOrderFillableOpts, ): Promise<void> { assert.doesConformToSchema('signedOrder', signedOrder, schemas.signedOrderSchema); const zrxTokenAddress = await this._getZRXTokenAddressAsync(); |