From 3c43bb0f675a7eddbb0fc49db1e5b5406376ad7d Mon Sep 17 00:00:00 2001 From: alexcos20 Date: Fri, 30 Oct 2020 06:03:31 -0700 Subject: [PATCH] fix typos --- src/balancer/Pool.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/balancer/Pool.ts b/src/balancer/Pool.ts index f19c8242..26ef8256 100644 --- a/src/balancer/Pool.ts +++ b/src/balancer/Pool.ts @@ -659,7 +659,7 @@ export class Pool extends PoolFactory { const gasLimitDefault = this.GASLIMIT_DEFAULT let estGas try { - estGas = await await pool.methods + estGas = await pool.methods .joinPool(this.web3.utils.toWei(poolAmountOut), weiMaxAmountsIn) .estimateGas((err, estGas) => (err ? gasLimitDefault : estGas)) } catch (e) { @@ -706,7 +706,7 @@ export class Pool extends PoolFactory { const gasLimitDefault = this.GASLIMIT_DEFAULT let estGas try { - estGas = await await pool.methods + estGas = await pool.methods .exitPool(this.web3.utils.toWei(poolAmountIn), weiMinAmountsOut) .estimateGas((err, estGas) => (err ? gasLimitDefault : estGas)) } catch (e) { @@ -745,7 +745,7 @@ export class Pool extends PoolFactory { const gasLimitDefault = this.GASLIMIT_DEFAULT let estGas try { - estGas = await await pool.methods + estGas = await pool.methods .joinswapExternAmountIn( tokenIn, this.web3.utils.toWei(tokenAmountIn), @@ -797,7 +797,7 @@ export class Pool extends PoolFactory { const gasLimitDefault = this.GASLIMIT_DEFAULT let estGas try { - estGas = await await pool.methods + estGas = await pool.methods .joinswapPoolAmountOut( tokenIn, this.web3.utils.toWei(poolAmountOut), @@ -848,7 +848,7 @@ export class Pool extends PoolFactory { const gasLimitDefault = this.GASLIMIT_DEFAULT let estGas try { - estGas = await await pool.methods + estGas = await pool.methods .exitswapPoolAmountIn( tokenOut, this.web3.utils.toWei(poolAmountIn),