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