mirror of
https://github.com/oceanprotocol/market.git
synced 2024-11-15 01:34:57 +01:00
price change
This commit is contained in:
parent
581e9d05d6
commit
92e6b2738b
@ -27,8 +27,8 @@ export default function Price({
|
|||||||
'Free'
|
'Free'
|
||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
<span>OCEAN</span> {fromWei(price)}
|
<span>OCEAN</span> {price}
|
||||||
<PriceConversion price={fromWei(price)} />
|
<PriceConversion price={price} />
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ export default function PublishPage({
|
|||||||
const ddo = await publish(metadata as any, tokensToMint.toString(), serviceType, '','')
|
const ddo = await publish(metadata as any, tokensToMint.toString(), serviceType, '','')
|
||||||
|
|
||||||
// create pool for the data token, this is the advanced flow , currently hardcoded
|
// create pool for the data token, this is the advanced flow , currently hardcoded
|
||||||
const pool = ocean.pool.createDTPool(
|
const pool = await ocean.pool.createDTPool(
|
||||||
accountId,
|
accountId,
|
||||||
ddo.dataToken,
|
ddo.dataToken,
|
||||||
tokensToMint.toString(),
|
tokensToMint.toString(),
|
||||||
|
Loading…
Reference in New Issue
Block a user