From 9d3fe1258a53d9e2169b3d733f64d3931fefcce0 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Fri, 10 Nov 2017 15:09:22 -0500 Subject: Create stores in orderStateWatcher --- src/0x.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/0x.ts') diff --git a/src/0x.ts b/src/0x.ts index a1841eaa8..fe765bbbe 100644 --- a/src/0x.ts +++ b/src/0x.ts @@ -205,9 +205,8 @@ export class ZeroEx { const etherTokenContractAddressIfExists = _.isUndefined(config) ? undefined : config.etherTokenContractAddress; this.etherToken = new EtherTokenWrapper(this._web3Wrapper, this.token, etherTokenContractAddressIfExists); const orderWatcherConfig = _.isUndefined(config) ? undefined : config.orderWatcherConfig; - const orderStateUtils = new OrderStateUtils(this.token, this.exchange); this.orderStateWatcher = new OrderStateWatcher( - this._web3Wrapper, this._abiDecoder, orderStateUtils, orderWatcherConfig, + this._web3Wrapper, this._abiDecoder, this.token, this.exchange, orderWatcherConfig, ); } /** -- cgit v1.2.3