fix lint
This commit is contained in:
parent
5e3740f088
commit
20406ba51a
|
@ -36,7 +36,7 @@ class DevFunds {
|
|||
return;
|
||||
}
|
||||
|
||||
setInterval(function() { self._sendTx() }, 3000);
|
||||
setInterval(function() { self._sendTx(); }, 3000);
|
||||
if (cb) {
|
||||
cb();
|
||||
}
|
||||
|
@ -45,7 +45,7 @@ class DevFunds {
|
|||
|
||||
regularUnlocks() {
|
||||
const self = this;
|
||||
setInterval(function() { self.unlockAccounts(self.password, () => {}) }, 20000);
|
||||
setInterval(function() { self.unlockAccounts(self.password, () => {}); }, 20000);
|
||||
}
|
||||
|
||||
connectToNode(cb) {
|
||||
|
|
|
@ -47,7 +47,7 @@ function fundAccount(web3, accountAddress, hexBalance, nonce, 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