From 73668afd2e89c1b3d6b4f7241446cb9a5bb21f6e Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Tue, 23 Oct 2018 11:19:15 -0400 Subject: [PATCH] fix missing blockchainConfig pass to StorageLauncher in swarm index --- lib/modules/swarm/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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...`);