1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +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 (Number(amountPercent) / Number(poolTokens)) * 100
setAmountPoolShares(`${amountPoolShares}`) setAmountPoolShares(`${amountPoolShares}`)
const amountOcean = await ocean.pool.getPoolSharesForRemoveOcean( const amountOcean = await ocean.pool.getOceanRemovedforPoolShares(
poolAddress, poolAddress,
`${amountPoolShares}` `${amountPoolShares}`
) )
setAmountOcean(amountOcean) setAmountOcean(amountOcean)
const amountDatatoken = await ocean.pool.getPoolSharesForRemoveDT( const amountDatatoken = await ocean.pool.getDTRemovedforPoolShares(
poolAddress, poolAddress,
`${amountPoolShares}` `${amountPoolShares}`
) )