mirror of https://github.com/embarklabs/embark.git
lint is king
This commit is contained in:
parent
aa9717b62f
commit
792e7dff5b
|
@ -10,8 +10,6 @@ const DevFunds = require('./dev_funds.js');
|
|||
|
||||
const {defaultHost, dockerHostSwap} = require('../../utils/host');
|
||||
|
||||
const {defaultHost, dockerHostSwap} = require('../../utils/host');
|
||||
|
||||
/*eslint complexity: ["error", 36]*/
|
||||
var Blockchain = function(options) {
|
||||
this.blockchainConfig = options.blockchainConfig;
|
||||
|
@ -217,7 +215,7 @@ Blockchain.prototype.createFundAndUnlockAccounts = function(cb) {
|
|||
cb(err);
|
||||
});
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Blockchain.prototype.readyCallback = function() {
|
||||
if (this.onReadyCallback) {
|
||||
|
|
|
@ -81,14 +81,6 @@ class Whisper {
|
|||
type: connection.type || 'ws'
|
||||
});
|
||||
|
||||
if (keys.symmetricKey) {
|
||||
config.symKey = keys.symmetricKey;
|
||||
}
|
||||
|
||||
if (keys.privateKey) {
|
||||
config.privateKey = keys.privateKey;
|
||||
}
|
||||
|
||||
config = JSON.stringify(config);
|
||||
|
||||
let code = "\nEmbarkJS.Messages.setProvider('whisper'," + config + ");";
|
||||
|
|
Loading…
Reference in New Issue