diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2017-12-13 05:08:59 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2017-12-13 07:05:30 +0800 |
commit | 1fb643cb69fba85434ada35755f90dbc1d9ee85f (patch) | |
tree | 1d844a14768f0b011eadb149f6f6f82bd1b8e0bf /packages/contracts/test/ts/ether_token_v2.ts | |
parent | 88db8c37242f899d00f1195a368d58a914d499cb (diff) | |
download | dexon-sol-tools-1fb643cb69fba85434ada35755f90dbc1d9ee85f.tar dexon-sol-tools-1fb643cb69fba85434ada35755f90dbc1d9ee85f.tar.gz dexon-sol-tools-1fb643cb69fba85434ada35755f90dbc1d9ee85f.tar.bz2 dexon-sol-tools-1fb643cb69fba85434ada35755f90dbc1d9ee85f.tar.lz dexon-sol-tools-1fb643cb69fba85434ada35755f90dbc1d9ee85f.tar.xz dexon-sol-tools-1fb643cb69fba85434ada35755f90dbc1d9ee85f.tar.zst dexon-sol-tools-1fb643cb69fba85434ada35755f90dbc1d9ee85f.zip |
Formatting fixes
Diffstat (limited to 'packages/contracts/test/ts/ether_token_v2.ts')
-rw-r--r-- | packages/contracts/test/ts/ether_token_v2.ts | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/packages/contracts/test/ts/ether_token_v2.ts b/packages/contracts/test/ts/ether_token_v2.ts index 61bf1a980..b88fef579 100644 --- a/packages/contracts/test/ts/ether_token_v2.ts +++ b/packages/contracts/test/ts/ether_token_v2.ts @@ -104,8 +104,9 @@ contract('EtherTokenV2', (accounts: string[]) => { const initEthBalance = await getEthBalanceAsync(account); const ethTokensToWithdraw = initEthTokenBalance; expect(ethTokensToWithdraw).to.not.be.bignumber.equal(0); - const txHash = await zeroEx.etherToken.withdrawAsync(ethTokensToWithdraw, account, - {gasLimit: constants.MAX_ETHERTOKEN_WITHDRAW_GAS}); + const txHash = await zeroEx.etherToken.withdrawAsync(ethTokensToWithdraw, account, { + gasLimit: constants.MAX_ETHERTOKEN_WITHDRAW_GAS, + }); const receipt = await zeroEx.awaitTransactionMinedAsync(txHash); const ethSpentOnGas = gasPrice.times(receipt.gasUsed); @@ -122,8 +123,9 @@ contract('EtherTokenV2', (accounts: string[]) => { const initEthBalance = await getEthBalanceAsync(account); const ethTokensToWithdraw = initEthTokenBalance; expect(ethTokensToWithdraw).to.not.be.bignumber.equal(0); - const txHash = await zeroEx.etherToken.withdrawAsync(ethTokensToWithdraw, account, - {gasLimit: constants.MAX_ETHERTOKEN_WITHDRAW_GAS}); + const txHash = await zeroEx.etherToken.withdrawAsync(ethTokensToWithdraw, account, { + gasLimit: constants.MAX_ETHERTOKEN_WITHDRAW_GAS, + }); const receipt = await zeroEx.awaitTransactionMinedAsync(txHash); const logs = receipt.logs; |