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

Change this.oceanAddress to baseToken (#880)

This commit is contained in:
Kris Liew 2021-07-02 12:55:56 +08:00 committed by GitHub
parent 590a168291
commit a5b24b655a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,7 +124,7 @@ export class OceanFixedRateExchange {
let trxReceipt = null
try {
trxReceipt = await this.contract.methods
.create(this.oceanAddress, dataToken, this.web3.utils.toWei(rate))
.create(baseToken, dataToken, this.web3.utils.toWei(rate))
.send({
from: address,
gas: estGas + 1,