mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
remove cast on providerFeeAmount
This commit is contained in:
parent
a740e07b0d
commit
4d09240923
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user