lint is king

This commit is contained in:
Iuri Matias 2018-08-21 16:12:57 -04:00
parent aa9717b62f
commit 792e7dff5b
2 changed files with 1 additions and 11 deletions

View File

@ -10,8 +10,6 @@ const DevFunds = require('./dev_funds.js');
const {defaultHost, dockerHostSwap} = require('../../utils/host'); const {defaultHost, dockerHostSwap} = require('../../utils/host');
const {defaultHost, dockerHostSwap} = require('../../utils/host');
/*eslint complexity: ["error", 36]*/ /*eslint complexity: ["error", 36]*/
var Blockchain = function(options) { var Blockchain = function(options) {
this.blockchainConfig = options.blockchainConfig; this.blockchainConfig = options.blockchainConfig;
@ -217,7 +215,7 @@ Blockchain.prototype.createFundAndUnlockAccounts = function(cb) {
cb(err); cb(err);
}); });
}); });
} };
Blockchain.prototype.readyCallback = function() { Blockchain.prototype.readyCallback = function() {
if (this.onReadyCallback) { if (this.onReadyCallback) {

View File

@ -81,14 +81,6 @@ class Whisper {
type: connection.type || 'ws' type: connection.type || 'ws'
}); });
if (keys.symmetricKey) {
config.symKey = keys.symmetricKey;
}
if (keys.privateKey) {
config.privateKey = keys.privateKey;
}
config = JSON.stringify(config); config = JSON.stringify(config);
let code = "\nEmbarkJS.Messages.setProvider('whisper'," + config + ");"; let code = "\nEmbarkJS.Messages.setProvider('whisper'," + config + ");";