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
|
asset.services[0].serviceEndpoint
|
||||||
))
|
))
|
||||||
|
|
||||||
const providerFeesSanitized = providerFees || initializeData.providerFee
|
console.log(
|
||||||
providerFeesSanitized.providerFeeAmount = await unitsToAmount(
|
'Initial providerFees == ',
|
||||||
web3,
|
providerFees || initializeData.providerFee
|
||||||
providerFeesSanitized.providerFeeToken,
|
|
||||||
providerFeesSanitized.providerFeeAmount.toString()
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
const providerFeesSanitized = providerFees || initializeData.providerFee
|
||||||
|
providerFees.providerFeeAmount = providerFees.providerFeeAmount.toString()
|
||||||
|
|
||||||
const orderParams = {
|
const orderParams = {
|
||||||
consumer: computeConsumerAddress || accountId,
|
consumer: computeConsumerAddress || accountId,
|
||||||
serviceIndex: 0,
|
serviceIndex: 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user