aboutsummaryrefslogtreecommitdiffstats
path: root/packages/order-watcher/src/order_watcher/event_watcher.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-07-17 17:57:52 +0800
committerFabio Berger <me@fabioberger.com>2018-07-17 17:57:52 +0800
commit766ac3f1febcb6f6e4f6c20198283f01b278f671 (patch)
treec3ec88e1e85ac133e06231c294a0fefaa3c990e1 /packages/order-watcher/src/order_watcher/event_watcher.ts
parent151ce6e3c77e43659899ce299ac9f1b37cf6a042 (diff)
downloaddexon-sol-tools-766ac3f1febcb6f6e4f6c20198283f01b278f671.tar
dexon-sol-tools-766ac3f1febcb6f6e4f6c20198283f01b278f671.tar.gz
dexon-sol-tools-766ac3f1febcb6f6e4f6c20198283f01b278f671.tar.bz2
dexon-sol-tools-766ac3f1febcb6f6e4f6c20198283f01b278f671.tar.lz
dexon-sol-tools-766ac3f1febcb6f6e4f6c20198283f01b278f671.tar.xz
dexon-sol-tools-766ac3f1febcb6f6e4f6c20198283f01b278f671.tar.zst
dexon-sol-tools-766ac3f1febcb6f6e4f6c20198283f01b278f671.zip
Remove blockRetention config
Diffstat (limited to 'packages/order-watcher/src/order_watcher/event_watcher.ts')
-rw-r--r--packages/order-watcher/src/order_watcher/event_watcher.ts6
1 files changed, 0 insertions, 6 deletions
diff --git a/packages/order-watcher/src/order_watcher/event_watcher.ts b/packages/order-watcher/src/order_watcher/event_watcher.ts
index d52c6a21e..1cd198a62 100644
--- a/packages/order-watcher/src/order_watcher/event_watcher.ts
+++ b/packages/order-watcher/src/order_watcher/event_watcher.ts
@@ -27,16 +27,13 @@ export class EventWatcher {
private _pollingIntervalMs: number;
private _stateLayer: BlockParamLiteral;
private _isVerbose: boolean;
- private _blockRetention: number;
constructor(
web3Wrapper: Web3Wrapper,
pollingIntervalIfExistsMs: undefined | number,
stateLayer: BlockParamLiteral = BlockParamLiteral.Latest,
- blockRetention: number,
isVerbose: boolean,
) {
this._isVerbose = isVerbose;
- this._blockRetention = blockRetention;
this._web3Wrapper = web3Wrapper;
this._stateLayer = stateLayer;
this._pollingIntervalMs = _.isUndefined(pollingIntervalIfExistsMs)
@@ -68,9 +65,6 @@ export class EventWatcher {
this._web3Wrapper.getBlockAsync.bind(this._web3Wrapper),
this._web3Wrapper.getLogsAsync.bind(this._web3Wrapper),
this._onBlockAndLogStreamerError.bind(this),
- {
- blockRetention: this._blockRetention,
- },
);
const catchAllLogFilter = {};
this._blockAndLogStreamerIfExists.addLogFilter(catchAllLogFilter);