From e4a8b175225108c66778372166e52b7d5a18333f Mon Sep 17 00:00:00 2001 From: Alex Browne Date: Fri, 1 Jun 2018 16:17:27 -0700 Subject: Remove unused promises array --- packages/contracts/src/utils/erc20_wrapper.ts | 3 --- 1 file changed, 3 deletions(-) (limited to 'packages/contracts/src/utils/erc20_wrapper.ts') diff --git a/packages/contracts/src/utils/erc20_wrapper.ts b/packages/contracts/src/utils/erc20_wrapper.ts index f58fa94fe..dceeceeea 100644 --- a/packages/contracts/src/utils/erc20_wrapper.ts +++ b/packages/contracts/src/utils/erc20_wrapper.ts @@ -52,8 +52,6 @@ export class ERC20Wrapper { public async setBalancesAndAllowancesAsync(): Promise { this._validateDummyTokenContractsExistOrThrow(); this._validateProxyContractExistsOrThrow(); - const setBalancePromises: Array> = []; - const setAllowancePromises: Array> = []; for (const dummyTokenContract of this._dummyTokenContracts) { for (const tokenOwnerAddress of this._tokenOwnerAddresses) { await this._web3Wrapper.awaitTransactionSuccessAsync( @@ -79,7 +77,6 @@ export class ERC20Wrapper { this._validateDummyTokenContractsExistOrThrow(); const balancesByOwner: ERC20BalancesByOwner = {}; const balances: BigNumber[] = []; - const balancePromises: Array> = []; const balanceInfo: Array<{ tokenOwnerAddress: string; tokenAddress: string }> = []; for (const dummyTokenContract of this._dummyTokenContracts) { for (const tokenOwnerAddress of this._tokenOwnerAddresses) { -- cgit