1
0
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:
alexcos20 2020-07-09 03:40:09 -07:00
parent ba846f0a58
commit 7c5d10a7e7
2 changed files with 3 additions and 3 deletions

View File

@ -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 })
) )

View File

@ -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')