mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
fix linting
This commit is contained in:
parent
ba846f0a58
commit
7c5d10a7e7
@ -211,7 +211,8 @@ export class Balancer {
|
|||||||
})
|
})
|
||||||
let result = null
|
let result = null
|
||||||
try {
|
try {
|
||||||
result = this.web3.utils.fromWei(await token.methods
|
result = this.web3.utils.fromWei(
|
||||||
|
await token.methods
|
||||||
.balanceOf(address)
|
.balanceOf(address)
|
||||||
.call({ from: this.account, gas: this.GASLIMIT_DEFAULT })
|
.call({ from: this.account, gas: this.GASLIMIT_DEFAULT })
|
||||||
)
|
)
|
||||||
|
@ -5,7 +5,6 @@ import { DataTokens } from '../../../src/datatokens/Datatokens'
|
|||||||
import { Balancer } from '../../../src/balancer/balancerlib'
|
import { Balancer } from '../../../src/balancer/balancerlib'
|
||||||
import { Ocean } from '../../../src/ocean/Ocean'
|
import { Ocean } from '../../../src/ocean/Ocean'
|
||||||
import { Config } from '../../../src/models/Config'
|
import { Config } from '../../../src/models/Config'
|
||||||
import { POINT_CONVERSION_COMPRESSED } from 'constants'
|
|
||||||
|
|
||||||
const Web3 = require('web3')
|
const Web3 = require('web3')
|
||||||
const web3 = new Web3('http://127.0.0.1:8545')
|
const web3 = new Web3('http://127.0.0.1:8545')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user