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,8 +211,9 @@ export class Balancer {
|
||||
})
|
||||
let result = null
|
||||
try {
|
||||
result = this.web3.utils.fromWei(await token.methods
|
||||
.balanceOf(address)
|
||||
result = this.web3.utils.fromWei(
|
||||
await token.methods
|
||||
.balanceOf(address)
|
||||
.call({ from: this.account, gas: this.GASLIMIT_DEFAULT })
|
||||
)
|
||||
} catch (e) {
|
||||
|
@ -5,7 +5,6 @@ import { DataTokens } from '../../../src/datatokens/Datatokens'
|
||||
import { Balancer } from '../../../src/balancer/balancerlib'
|
||||
import { Ocean } from '../../../src/ocean/Ocean'
|
||||
import { Config } from '../../../src/models/Config'
|
||||
import { POINT_CONVERSION_COMPRESSED } from 'constants'
|
||||
|
||||
const Web3 = require('web3')
|
||||
const web3 = new Web3('http://127.0.0.1:8545')
|
||||
|
Loading…
x
Reference in New Issue
Block a user