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,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) {

View File

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