aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-09-26 18:32:49 +0800
committerFabio Berger <me@fabioberger.com>2017-09-26 18:32:49 +0800
commit2148eb6d9901bbc34210df2e96542f71eef215f9 (patch)
treef8c5336342fed73a61b2ee1a4552e723283d579b /src
parentd3f729dd7197b9c6c64c41740803a73488977ebc (diff)
downloaddexon-0x-contracts-2148eb6d9901bbc34210df2e96542f71eef215f9.tar.gz
dexon-0x-contracts-2148eb6d9901bbc34210df2e96542f71eef215f9.tar.zst
dexon-0x-contracts-2148eb6d9901bbc34210df2e96542f71eef215f9.zip
make opts optional
Diffstat (limited to 'src')
-rw-r--r--src/contract_wrappers/exchange_wrapper.ts2
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();