diff --git a/lib/cmds/blockchain/dev_funds.js b/lib/cmds/blockchain/dev_funds.js index 8905579a5..03dba4f2b 100644 --- a/lib/cmds/blockchain/dev_funds.js +++ b/lib/cmds/blockchain/dev_funds.js @@ -74,7 +74,7 @@ class DevFunds { unlockAccounts(password, cb) { async.each(this.accounts, (account, next) => { - this.web3.eth.personal.unlockAccount(account, password).then((result) => { + this.web3.eth.personal.unlockAccount(account, password).then((_result) => { next(); }).catch(next); }, cb); @@ -87,7 +87,7 @@ class DevFunds { const remainingBalance = balance - currBalance; if (remainingBalance <= 0) return next(); - this.web3.eth.sendTransaction({to: account, value: remainingBalance}).then((result) => { + this.web3.eth.sendTransaction({to: account, value: remainingBalance}).then((_result) => { next(); }).catch(next); }, cb); diff --git a/lib/contracts/fundAccount.js b/lib/contracts/fundAccount.js index 145934815..35470b547 100644 --- a/lib/contracts/fundAccount.js +++ b/lib/contracts/fundAccount.js @@ -48,7 +48,7 @@ function fundAccount(web3, accountAddress, hexBalance, callback) { }); }, function getNonce(next) { - web3.eth.getTransactionCount(coinbaseAddress, (err, _nonce) => { + web3.eth.getTransactionCount(coinbaseAddress, (err, nonce) => { if (err) { return next(err); }