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

fix estimate gas in sellDT()

This commit is contained in:
Miquel A. Cabot 2022-04-19 08:41:30 +02:00
parent 72be0aa02a
commit 9ede24badf

View File

@ -274,7 +274,7 @@ export class FixedRateExchange {
exchange.baseToken,
minBaseTokenAmount
)
const estGas = await this.estBuyDT(
const estGas = await this.estSellDT(
address,
exchangeId,
dtAmountFormatted,