1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-11-15 01:34:57 +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' 'Free'
) : ( ) : (
<> <>
<span>OCEAN</span> {fromWei(price)} <span>OCEAN</span> {price}
<PriceConversion price={fromWei(price)} /> <PriceConversion price={price} />
</> </>
) )

View File

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