aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/src
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-06-27 01:16:57 +0800
committerFabio Berger <me@fabioberger.com>2018-06-27 01:16:57 +0800
commit2a82807be4099460173ce885867896a8755091b2 (patch)
treedae97f147ff49ac585b2ea391c33dc97383a91ab /packages/contracts/src
parent43ae868c6945045e0c467977e1b3db143e99fc8c (diff)
downloaddexon-sol-tools-2a82807be4099460173ce885867896a8755091b2.tar
dexon-sol-tools-2a82807be4099460173ce885867896a8755091b2.tar.gz
dexon-sol-tools-2a82807be4099460173ce885867896a8755091b2.tar.bz2
dexon-sol-tools-2a82807be4099460173ce885867896a8755091b2.tar.lz
dexon-sol-tools-2a82807be4099460173ce885867896a8755091b2.tar.xz
dexon-sol-tools-2a82807be4099460173ce885867896a8755091b2.tar.zst
dexon-sol-tools-2a82807be4099460173ce885867896a8755091b2.zip
Fix type issue
Diffstat (limited to 'packages/contracts/src')
-rw-r--r--packages/contracts/src/utils/core_combinatorial_utils.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/contracts/src/utils/core_combinatorial_utils.ts b/packages/contracts/src/utils/core_combinatorial_utils.ts
index a775c619f..becf19c06 100644
--- a/packages/contracts/src/utils/core_combinatorial_utils.ts
+++ b/packages/contracts/src/utils/core_combinatorial_utils.ts
@@ -6,7 +6,7 @@ import {
OrderStateUtils,
OrderValidationUtils,
} from '@0xproject/order-utils';
-import { AssetProxyId, SignatureType, SignedOrder } from '@0xproject/types';
+import { AssetProxyId, RevertReason, SignatureType, SignedOrder } from '@0xproject/types';
import { BigNumber, errorUtils, logUtils } from '@0xproject/utils';
import { Web3Wrapper } from '@0xproject/web3-wrapper';
import * as chai from 'chai';
@@ -329,7 +329,7 @@ export class CoreCombinatorialUtils {
signedOrder: SignedOrder,
takerAssetFillAmount: BigNumber,
lazyStore: BalanceAndProxyAllowanceLazyStore,
- fillRevertReasonIfExists: string | undefined,
+ fillRevertReasonIfExists: RevertReason | undefined,
): Promise<void> {
if (!_.isUndefined(fillRevertReasonIfExists)) {
return expectRevertReasonOrAlwaysFailingTransactionAsync(