aboutsummaryrefslogtreecommitdiffstats
path: root/packages/order-watcher
diff options
context:
space:
mode:
authorJacob Evans <jacob@dekz.net>2018-07-04 18:06:10 +0800
committerJacob Evans <jacob@dekz.net>2018-07-04 18:06:10 +0800
commit9e0f06d06055022fff80bbf7a8b6444f72f898ec (patch)
tree02a0e45304dac1e3e295578ccdd175e05bd84f68 /packages/order-watcher
parent27c03cffe2c1fe7f6c70cab286594840ef37d6e2 (diff)
downloaddexon-sol-tools-9e0f06d06055022fff80bbf7a8b6444f72f898ec.tar
dexon-sol-tools-9e0f06d06055022fff80bbf7a8b6444f72f898ec.tar.gz
dexon-sol-tools-9e0f06d06055022fff80bbf7a8b6444f72f898ec.tar.bz2
dexon-sol-tools-9e0f06d06055022fff80bbf7a8b6444f72f898ec.tar.lz
dexon-sol-tools-9e0f06d06055022fff80bbf7a8b6444f72f898ec.tar.xz
dexon-sol-tools-9e0f06d06055022fff80bbf7a8b6444f72f898ec.tar.zst
dexon-sol-tools-9e0f06d06055022fff80bbf7a8b6444f72f898ec.zip
Specify the lint rule to disable
Diffstat (limited to 'packages/order-watcher')
-rw-r--r--packages/order-watcher/src/order_watcher/order_watcher.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/order-watcher/src/order_watcher/order_watcher.ts b/packages/order-watcher/src/order_watcher/order_watcher.ts
index 3418b4ee9..0ee56592e 100644
--- a/packages/order-watcher/src/order_watcher/order_watcher.ts
+++ b/packages/order-watcher/src/order_watcher/order_watcher.ts
@@ -298,7 +298,7 @@ export class OrderWatcher {
}
case EtherTokenEvents.Withdrawal: {
// Invalidate cache
- // tslint:disable-next-line
+ // tslint:disable-next-line:no-unnecessary-type-assertion
const args = decodedLog.args as WithdrawalContractEventArgs;
this._balanceAndProxyAllowanceLazyStore.deleteBalance(decodedLog.address, args._owner);
// Revalidate orders
@@ -315,7 +315,7 @@ export class OrderWatcher {
}
case ExchangeEvents.LogFill: {
// Invalidate cache
- // tslint:disable-next-line
+ // tslint:disable-next-line:no-unnecessary-type-assertion
const args = decodedLog.args as LogFillContractEventArgs;
this._orderFilledCancelledLazyStore.deleteFilledTakerAmount(args.orderHash);
// Revalidate orders
@@ -328,7 +328,7 @@ export class OrderWatcher {
}
case ExchangeEvents.LogCancel: {
// Invalidate cache
- // tslint:disable-next-line
+ // tslint:disable-next-line:no-unnecessary-type-assertion
const args = decodedLog.args as LogCancelContractEventArgs;
this._orderFilledCancelledLazyStore.deleteCancelledTakerAmount(args.orderHash);
// Revalidate orders