lint is king

This commit is contained in:
Iuri Matias 2018-06-11 17:22:08 -04:00
parent 4aab8cd374
commit 56724aecd4
1 changed files with 3 additions and 3 deletions

View File

@ -225,12 +225,12 @@ class Test {
});
},
function getBalance(accounts, next) {
web3.eth.getBalance(web3.eth.defaultAccount).then((balance) => {
if (parseInt(balance) === 0) {
self.web3.eth.getBalance(self.web3.eth.defaultAccount).then((balance) => {
if (parseInt(balance, 10) === 0) {
console.warn("Warning: default account has no funds");
}
next(null, accounts);
}).catch((err) => { next(err) });
}).catch((err) => { next(err); });
},
function deploy(accounts, next) {
self.engine.deployManager.gasLimit = 6000000;