1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-11-14 17:24:51 +01:00

price change

This commit is contained in:
mihaisc 2020-08-05 15:09:15 +03:00
parent 581e9d05d6
commit 92e6b2738b
2 changed files with 3 additions and 3 deletions

View File

@ -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} />
</>
)

View File

@ -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(),