aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers/src/contract_wrappers.ts
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-07-31 13:14:07 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-07-31 15:11:29 +0800
commit8ed3d59f969c2f07e34739c5a08c69de583cef88 (patch)
tree4bc44963d0644399b3521eb750fefded74f2e946 /packages/contract-wrappers/src/contract_wrappers.ts
parentbc93ff0cb5c846fcb534f90b93e54bba0747f562 (diff)
downloaddexon-sol-tools-8ed3d59f969c2f07e34739c5a08c69de583cef88.tar
dexon-sol-tools-8ed3d59f969c2f07e34739c5a08c69de583cef88.tar.gz
dexon-sol-tools-8ed3d59f969c2f07e34739c5a08c69de583cef88.tar.bz2
dexon-sol-tools-8ed3d59f969c2f07e34739c5a08c69de583cef88.tar.lz
dexon-sol-tools-8ed3d59f969c2f07e34739c5a08c69de583cef88.tar.xz
dexon-sol-tools-8ed3d59f969c2f07e34739c5a08c69de583cef88.tar.zst
dexon-sol-tools-8ed3d59f969c2f07e34739c5a08c69de583cef88.zip
Add more assertions
Diffstat (limited to 'packages/contract-wrappers/src/contract_wrappers.ts')
-rw-r--r--packages/contract-wrappers/src/contract_wrappers.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/contract-wrappers/src/contract_wrappers.ts b/packages/contract-wrappers/src/contract_wrappers.ts
index 76aefbdcf..4277a0746 100644
--- a/packages/contract-wrappers/src/contract_wrappers.ts
+++ b/packages/contract-wrappers/src/contract_wrappers.ts
@@ -110,7 +110,12 @@ export class ContractWrappers {
config.zrxContractAddress,
blockPollingIntervalMs,
);
- this.forwarder = new ForwarderWrapper(this._web3Wrapper, config.networkId, config.forwarderContractAddress);
+ this.forwarder = new ForwarderWrapper(
+ this._web3Wrapper,
+ config.networkId,
+ config.forwarderContractAddress,
+ config.zrxContractAddress,
+ );
}
/**
* Sets a new web3 provider for 0x.js. Updating the provider will stop all