mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
fix typo (#464)
This commit is contained in:
parent
9bbb727d21
commit
db446b6bbf
@ -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])
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user