mirror of
https://github.com/oceanprotocol/react.git
synced 2025-01-27 18:46:35 +01:00
fix
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
This commit is contained in:
parent
1a1a741645
commit
5b5e7124e3
@ -253,7 +253,7 @@ function usePricing(ddo: DDO): UsePricing {
|
||||
)
|
||||
.next((step: number) => setStep(step, 'pool'))
|
||||
: await ocean.fixedRateExchange
|
||||
.create(dataToken, `${price}`, accountId, '${dtAmount}')
|
||||
.create(dataToken, `${price}`, accountId, `${dtAmount}`)
|
||||
.next((step: number) => setStep(step, 'exchange'))
|
||||
await sleep(20000)
|
||||
return tx
|
||||
|
Loading…
Reference in New Issue
Block a user