diff --git a/lib/modules/swarm/index.js b/lib/modules/swarm/index.js index 66630e0a6..b770f91f3 100644 --- a/lib/modules/swarm/index.js +++ b/lib/modules/swarm/index.js @@ -9,7 +9,6 @@ const constants = require('../../constants.json'); class Swarm { constructor(embark, _options) { - const self = this; this.logger = embark.logger; this.events = embark.events; this.buildDir = embark.config.buildDir; @@ -99,6 +98,7 @@ class Swarm { storageConfig: self.storageConfig, webServerConfig: self.webServerConfig, corsParts: self.embark.config.corsParts, + blockchainConfig: self.blockchainConfig, embark: self.embark }); self.logger.trace(`Storage module: Launching swarm process...`);