diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-04-01 15:05:55 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-04-02 01:45:30 +0800 |
commit | ff7c3012a56d0744fa2bcaec0158c85b04293980 (patch) | |
tree | c2350f7b9cf586552e9c1077a9af4f079d15bf46 /packages/0x.js/src/order_watcher/order_state_watcher.ts | |
parent | 20fec2943bebc50059b1a9a0646f263b07aba88b (diff) | |
download | dexon-0x-contracts-ff7c3012a56d0744fa2bcaec0158c85b04293980.tar dexon-0x-contracts-ff7c3012a56d0744fa2bcaec0158c85b04293980.tar.gz dexon-0x-contracts-ff7c3012a56d0744fa2bcaec0158c85b04293980.tar.bz2 dexon-0x-contracts-ff7c3012a56d0744fa2bcaec0158c85b04293980.tar.lz dexon-0x-contracts-ff7c3012a56d0744fa2bcaec0158c85b04293980.tar.xz dexon-0x-contracts-ff7c3012a56d0744fa2bcaec0158c85b04293980.tar.zst dexon-0x-contracts-ff7c3012a56d0744fa2bcaec0158c85b04293980.zip |
Run prettier, update deployer CHANGELOG
Diffstat (limited to 'packages/0x.js/src/order_watcher/order_state_watcher.ts')
-rw-r--r-- | packages/0x.js/src/order_watcher/order_state_watcher.ts | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/packages/0x.js/src/order_watcher/order_state_watcher.ts b/packages/0x.js/src/order_watcher/order_state_watcher.ts index bfd250e21..cd6016c5a 100644 --- a/packages/0x.js/src/order_watcher/order_state_watcher.ts +++ b/packages/0x.js/src/order_watcher/order_state_watcher.ts @@ -86,14 +86,10 @@ export class OrderStateWatcher { this._abiDecoder = abiDecoder; this._web3Wrapper = web3Wrapper; const pollingIntervalIfExistsMs = _.isUndefined(config) ? undefined : config.eventPollingIntervalMs; - const stateLayer = _.isUndefined(config) || _.isUndefined(config.stateLayer) - ? BlockParamLiteral.Latest - : config.stateLayer; + const stateLayer = + _.isUndefined(config) || _.isUndefined(config.stateLayer) ? BlockParamLiteral.Latest : config.stateLayer; this._eventWatcher = new EventWatcher(web3Wrapper, pollingIntervalIfExistsMs, stateLayer); - this._balanceAndProxyAllowanceLazyStore = new BalanceAndProxyAllowanceLazyStore( - token, - stateLayer, - ); + this._balanceAndProxyAllowanceLazyStore = new BalanceAndProxyAllowanceLazyStore(token, stateLayer); this._orderFilledCancelledLazyStore = new OrderFilledCancelledLazyStore(exchange); this._orderStateUtils = new OrderStateUtils( this._balanceAndProxyAllowanceLazyStore, |