mirror of https://github.com/embarklabs/embark.git
remove unneded assigment; add clarification/TODO
This commit is contained in:
parent
a8e29976b7
commit
ac45b7a19b
|
@ -281,11 +281,11 @@ class Engine {
|
||||||
web3: options.web3
|
web3: options.web3
|
||||||
});
|
});
|
||||||
|
|
||||||
this.web3 = this.blockchain.web3;
|
|
||||||
|
|
||||||
this.registerModule('whisper', {
|
this.registerModule('whisper', {
|
||||||
addCheck: this.servicesMonitor.addCheck.bind(this.servicesMonitor),
|
addCheck: this.servicesMonitor.addCheck.bind(this.servicesMonitor),
|
||||||
communicationConfig: this.config.communicationConfig,
|
communicationConfig: this.config.communicationConfig,
|
||||||
|
// TODO: this should not be needed and should be deducted from the config instead
|
||||||
|
// the eth provider is not necessary the same as the whisper one
|
||||||
web3: this.web3
|
web3: this.web3
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,7 @@ class Whisper {
|
||||||
this.events = embark.events;
|
this.events = embark.events;
|
||||||
this.communicationConfig = options.communicationConfig;
|
this.communicationConfig = options.communicationConfig;
|
||||||
this.addCheck = options.addCheck;
|
this.addCheck = options.addCheck;
|
||||||
|
// TODO: this should not be needed and should be deducted from the config instead
|
||||||
this.web3 = options.web3;
|
this.web3 = options.web3;
|
||||||
this.embark = embark;
|
this.embark = embark;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue