mirror of https://github.com/embarklabs/embark.git
fix lint
This commit is contained in:
parent
c1809e3752
commit
0099078e94
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue