fix missing blockchainConfig pass to StorageLauncher in swarm index

This commit is contained in:
Jonathan Rainville 2018-10-23 11:19:15 -04:00
parent ccd064037f
commit 73668afd2e
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,6 @@ const constants = require('../../constants.json');
class Swarm { class Swarm {
constructor(embark, _options) { constructor(embark, _options) {
const self = this;
this.logger = embark.logger; this.logger = embark.logger;
this.events = embark.events; this.events = embark.events;
this.buildDir = embark.config.buildDir; this.buildDir = embark.config.buildDir;
@ -99,6 +98,7 @@ class Swarm {
storageConfig: self.storageConfig, storageConfig: self.storageConfig,
webServerConfig: self.webServerConfig, webServerConfig: self.webServerConfig,
corsParts: self.embark.config.corsParts, corsParts: self.embark.config.corsParts,
blockchainConfig: self.blockchainConfig,
embark: self.embark embark: self.embark
}); });
self.logger.trace(`Storage module: Launching swarm process...`); self.logger.trace(`Storage module: Launching swarm process...`);