1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-11-15 01:34:57 +01:00

method changes

This commit is contained in:
Matthias Kretschmann 2020-10-13 18:01:17 +02:00
parent d7fed2deb5
commit 89f4bf5aea
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -57,13 +57,13 @@ export default function Remove({
(Number(amountPercent) / Number(poolTokens)) * 100
setAmountPoolShares(`${amountPoolShares}`)
const amountOcean = await ocean.pool.getPoolSharesForRemoveOcean(
const amountOcean = await ocean.pool.getOceanRemovedforPoolShares(
poolAddress,
`${amountPoolShares}`
)
setAmountOcean(amountOcean)
const amountDatatoken = await ocean.pool.getPoolSharesForRemoveDT(
const amountDatatoken = await ocean.pool.getDTRemovedforPoolShares(
poolAddress,
`${amountPoolShares}`
)