From 4d0924092367166739c9593aa76774e120c967a7 Mon Sep 17 00:00:00 2001 From: Bogdan Fazakas Date: Wed, 15 Jun 2022 06:56:23 +0300 Subject: [PATCH] remove cast on providerFeeAmount --- src/@utils/order.ts | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/@utils/order.ts b/src/@utils/order.ts index e2e24811f..6aa4cbedd 100644 --- a/src/@utils/order.ts +++ b/src/@utils/order.ts @@ -53,18 +53,10 @@ export async function order( asset.services[0].serviceEndpoint )) - console.log( - 'Initial providerFees == ', - providerFees || initializeData.providerFee - ) - - const providerFeesSanitized = providerFees || initializeData.providerFee - providerFees.providerFeeAmount = providerFees.providerFeeAmount.toString() - const orderParams = { consumer: computeConsumerAddress || accountId, serviceIndex: 0, - _providerFee: providerFeesSanitized, + _providerFee: providerFees || initializeData.providerFee, _consumeMarketFee: { consumeMarketFeeAddress: marketFeeAddress, consumeMarketFeeAmount: consumeMarketOrderFee,