diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-12-15 20:14:57 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-12-15 20:30:19 +0800 |
commit | 274aa50d740e4f3af9e3d50468843ed19b555aa3 (patch) | |
tree | 1f2f8253615ef885283e8cf20f04ee5e0ece56c6 /packages/0x.js/src/contract_wrappers/token_registry_wrapper.ts | |
parent | c36d85a46c946b5d52164642336f39c90b732376 (diff) | |
download | dexon-sol-tools-274aa50d740e4f3af9e3d50468843ed19b555aa3.tar.gz dexon-sol-tools-274aa50d740e4f3af9e3d50468843ed19b555aa3.tar.zst dexon-sol-tools-274aa50d740e4f3af9e3d50468843ed19b555aa3.zip |
Fix 0x.js unused vars
Diffstat (limited to 'packages/0x.js/src/contract_wrappers/token_registry_wrapper.ts')
-rw-r--r-- | packages/0x.js/src/contract_wrappers/token_registry_wrapper.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/0x.js/src/contract_wrappers/token_registry_wrapper.ts b/packages/0x.js/src/contract_wrappers/token_registry_wrapper.ts index 064b826d8..69e9d7e21 100644 --- a/packages/0x.js/src/contract_wrappers/token_registry_wrapper.ts +++ b/packages/0x.js/src/contract_wrappers/token_registry_wrapper.ts @@ -2,7 +2,7 @@ import {Web3Wrapper} from '@0xproject/web3-wrapper'; import * as _ from 'lodash'; import {artifacts} from '../artifacts'; -import {Token, TokenMetadata, ZeroExError} from '../types'; +import {Token, TokenMetadata} from '../types'; import {assert} from '../utils/assert'; import {constants} from '../utils/constants'; @@ -36,8 +36,6 @@ export class TokenRegistryWrapper extends ContractWrapper { * @return An array of objects that conform to the Token interface. */ public async getTokensAsync(): Promise<Token[]> { - const tokenRegistryContract = await this._getTokenRegistryContractAsync(); - const addresses = await this.getTokenAddressesAsync(); const tokenPromises: Array<Promise<Token|undefined>> = _.map( addresses, |