mirror of
https://github.com/oceanprotocol/react.git
synced 2025-01-24 17:21:58 +01:00
fix fixedRateExchange.create
This commit is contained in:
parent
4636fadec9
commit
61e48431d6
@ -228,7 +228,7 @@ function usePricing(ddo: DDO): UsePricing {
|
||||
)
|
||||
.next((step: number) => setStep(step, 'pool'))
|
||||
: await ocean.fixedRateExchange
|
||||
.create(dataToken, `${price}`, accountId)
|
||||
.create(dataToken, `${price}`, accountId, `${dtAmount}`)
|
||||
.next((step: number) => setStep(step, 'exchange'))
|
||||
await sleep(20000)
|
||||
return tx
|
||||
|
Loading…
Reference in New Issue
Block a user