mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
remove unused oceanAddress parameter
This commit is contained in:
parent
4dcb8a72ef
commit
d23c1d1b05
@ -28,7 +28,6 @@ import { Config, ConfigHelper } from '../../config'
|
||||
|
||||
export class Datatoken {
|
||||
public factoryAddress: string
|
||||
public factoryABI: AbiItem | AbiItem[]
|
||||
public datatokensAbi: AbiItem | AbiItem[]
|
||||
public datatokensEnterpriseAbi: AbiItem | AbiItem[]
|
||||
public web3: Web3
|
||||
|
@ -100,13 +100,7 @@ describe('Fixed Rate unit test', () => {
|
||||
// user1 has no dt1
|
||||
expect(await balance(web3, dtAddress, user1)).to.equal('0')
|
||||
|
||||
fixedRate = new FixedRateExchange(
|
||||
web3,
|
||||
contracts.fixedRateAddress,
|
||||
8996,
|
||||
null,
|
||||
contracts.oceanAddress
|
||||
)
|
||||
fixedRate = new FixedRateExchange(web3, contracts.fixedRateAddress, 8996)
|
||||
assert(fixedRate != null)
|
||||
})
|
||||
|
||||
@ -415,13 +409,7 @@ describe('Fixed Rate unit test', () => {
|
||||
// user1 has no dt1
|
||||
expect(await balance(web3, dtAddress, user1)).to.equal('0')
|
||||
|
||||
fixedRate = new FixedRateExchange(
|
||||
web3,
|
||||
contracts.fixedRateAddress,
|
||||
8996,
|
||||
null,
|
||||
contracts.oceanAddress
|
||||
)
|
||||
fixedRate = new FixedRateExchange(web3, contracts.fixedRateAddress, 8996)
|
||||
assert(fixedRate != null)
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user