diff --git a/src/@utils/order.ts b/src/@utils/order.ts index 5b523a864..e2e24811f 100644 --- a/src/@utils/order.ts +++ b/src/@utils/order.ts @@ -53,13 +53,14 @@ export async function order( asset.services[0].serviceEndpoint )) - const providerFeesSanitized = providerFees || initializeData.providerFee - providerFeesSanitized.providerFeeAmount = await unitsToAmount( - web3, - providerFeesSanitized.providerFeeToken, - providerFeesSanitized.providerFeeAmount.toString() + console.log( + 'Initial providerFees == ', + providerFees || initializeData.providerFee ) + const providerFeesSanitized = providerFees || initializeData.providerFee + providerFees.providerFeeAmount = providerFees.providerFeeAmount.toString() + const orderParams = { consumer: computeConsumerAddress || accountId, serviceIndex: 0,