mirror of
https://github.com/oceanprotocol/market.git
synced 2024-11-14 17:24:51 +01:00
price change
This commit is contained in:
parent
581e9d05d6
commit
92e6b2738b
@ -27,8 +27,8 @@ export default function Price({
|
||||
'Free'
|
||||
) : (
|
||||
<>
|
||||
<span>OCEAN</span> {fromWei(price)}
|
||||
<PriceConversion price={fromWei(price)} />
|
||||
<span>OCEAN</span> {price}
|
||||
<PriceConversion price={price} />
|
||||
</>
|
||||
)
|
||||
|
||||
|
@ -45,7 +45,7 @@ export default function PublishPage({
|
||||
const ddo = await publish(metadata as any, tokensToMint.toString(), serviceType, '','')
|
||||
|
||||
// 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,
|
||||
ddo.dataToken,
|
||||
tokensToMint.toString(),
|
||||
|
Loading…
Reference in New Issue
Block a user