From 92e6b2738b8f17150da857419a74a216f8eec271 Mon Sep 17 00:00:00 2001 From: mihaisc Date: Wed, 5 Aug 2020 15:09:15 +0300 Subject: [PATCH] price change --- src/components/atoms/Price/index.tsx | 4 ++-- src/components/pages/Publish/index.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/atoms/Price/index.tsx b/src/components/atoms/Price/index.tsx index 2cbad0a91..af8412e61 100644 --- a/src/components/atoms/Price/index.tsx +++ b/src/components/atoms/Price/index.tsx @@ -27,8 +27,8 @@ export default function Price({ 'Free' ) : ( <> - OCEAN {fromWei(price)} - + OCEAN {price} + ) diff --git a/src/components/pages/Publish/index.tsx b/src/components/pages/Publish/index.tsx index 56c475976..1a16c04cd 100644 --- a/src/components/pages/Publish/index.tsx +++ b/src/components/pages/Publish/index.tsx @@ -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(),