diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-12-15 20:58:30 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-12-15 20:58:30 +0800 |
commit | 126048bac9f52871b841d9898cabe7cfd265ebb6 (patch) | |
tree | bcb2d17aeeaa4a99482bdf8e8a41758f02fd4ee4 /packages/connect/src | |
parent | 274aa50d740e4f3af9e3d50468843ed19b555aa3 (diff) | |
download | dexon-sol-tools-126048bac9f52871b841d9898cabe7cfd265ebb6.tar dexon-sol-tools-126048bac9f52871b841d9898cabe7cfd265ebb6.tar.gz dexon-sol-tools-126048bac9f52871b841d9898cabe7cfd265ebb6.tar.bz2 dexon-sol-tools-126048bac9f52871b841d9898cabe7cfd265ebb6.tar.lz dexon-sol-tools-126048bac9f52871b841d9898cabe7cfd265ebb6.tar.xz dexon-sol-tools-126048bac9f52871b841d9898cabe7cfd265ebb6.tar.zst dexon-sol-tools-126048bac9f52871b841d9898cabe7cfd265ebb6.zip |
Fix connect unused vars
Diffstat (limited to 'packages/connect/src')
-rw-r--r-- | packages/connect/src/utils/orderbook_channel_message_parsers.ts | 1 | ||||
-rw-r--r-- | packages/connect/src/ws_orderbook_channel.ts | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/packages/connect/src/utils/orderbook_channel_message_parsers.ts b/packages/connect/src/utils/orderbook_channel_message_parsers.ts index 486a416ef..d9a84cca2 100644 --- a/packages/connect/src/utils/orderbook_channel_message_parsers.ts +++ b/packages/connect/src/utils/orderbook_channel_message_parsers.ts @@ -5,7 +5,6 @@ import * as _ from 'lodash'; import { OrderbookChannelMessage, OrderbookChannelMessageTypes, - SignedOrder, } from '../types'; import {typeConverters} from './type_converters'; diff --git a/packages/connect/src/ws_orderbook_channel.ts b/packages/connect/src/ws_orderbook_channel.ts index 6687025c0..f58593484 100644 --- a/packages/connect/src/ws_orderbook_channel.ts +++ b/packages/connect/src/ws_orderbook_channel.ts @@ -8,7 +8,6 @@ import { OrderbookChannelHandler, OrderbookChannelMessageTypes, OrderbookChannelSubscriptionOpts, - SignedOrder, WebsocketClientEventType, WebsocketConnectionEventType, } from './types'; @@ -99,7 +98,6 @@ export class WebSocketOrderbookChannel implements OrderbookChannel { try { const utf8Data = message.utf8Data; const parserResult = orderbookChannelMessageParsers.parser(utf8Data); - const type = parserResult.type; if (parserResult.requestId === requestId) { switch (parserResult.type) { case (OrderbookChannelMessageTypes.Snapshot): { |