From db446b6bbf013ca76ce1213b23f40df149730e74 Mon Sep 17 00:00:00 2001 From: Alex Coseru Date: Thu, 19 Nov 2020 15:28:10 +0200 Subject: [PATCH] fix typo (#464) --- src/balancer/OceanPool.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/balancer/OceanPool.ts b/src/balancer/OceanPool.ts index 022d4eb3..b60f0ad3 100644 --- a/src/balancer/OceanPool.ts +++ b/src/balancer/OceanPool.ts @@ -1201,7 +1201,7 @@ export class OceanPool extends Pool { result = { ...result, tokenIn: '0x' + data.topics[2].substring(data.topics[2].length - 40), - tokenOut: '0x' + data.topics[2].substring(data.topics[3].length - 40), + tokenOut: '0x' + data.topics[3].substring(data.topics[3].length - 40), tokenAmountIn: this.web3.utils.fromWei(params[0]), tokenAmountOut: this.web3.utils.fromWei(params[1]) }