1
0
mirror of https://github.com/oceanprotocol/react.git synced 2025-01-27 18:46:35 +01:00
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
This commit is contained in:
mihaisc 2020-10-27 18:44:14 +02:00
parent 1a1a741645
commit 5b5e7124e3
No known key found for this signature in database
GPG Key ID: 4FB0C2329B4C6E29

View File

@ -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