mirror of https://github.com/embarklabs/embark.git
fix missing blockchainConfig pass to StorageLauncher in swarm index
This commit is contained in:
parent
ccd064037f
commit
73668afd2e
|
@ -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...`);
|
||||||
|
|
Loading…
Reference in New Issue