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:
parent
590a168291
commit
a5b24b655a
@ -124,7 +124,7 @@ export class OceanFixedRateExchange {
|
|||||||
let trxReceipt = null
|
let trxReceipt = null
|
||||||
try {
|
try {
|
||||||
trxReceipt = await this.contract.methods
|
trxReceipt = await this.contract.methods
|
||||||
.create(this.oceanAddress, dataToken, this.web3.utils.toWei(rate))
|
.create(baseToken, dataToken, this.web3.utils.toWei(rate))
|
||||||
.send({
|
.send({
|
||||||
from: address,
|
from: address,
|
||||||
gas: estGas + 1,
|
gas: estGas + 1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user