1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

undo hardcode

This commit is contained in:
Bogdan Fazakas 2023-12-15 13:37:31 +02:00
parent 41f2ba763d
commit bbcb867d20

View File

@ -184,7 +184,7 @@ export async function orderAsset(
await consumerAccount.getAddress(),
exchange.baseToken,
config.fixedRateExchangeAddress,
'1',
price,
false
)
const txApprove = typeof tx !== 'number' ? await tx.wait() : tx