1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

fix edit price (#1592)

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
This commit is contained in:
mihaisc 2022-07-12 05:31:57 -07:00 committed by GitHub
parent 5c04ae6534
commit 16b391e656
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ export default function Edit({
const setPriceResp = await fixedRateInstance.setRate(
accountId,
asset.accessDetails.addressOrId,
newPrice
newPrice.toString()
)
LoggerInstance.log('[edit] setFixedRate result', setPriceResp)
if (!setPriceResp) {