mirror of https://github.com/embarklabs/embark.git
setupProxy should not be conditional on isDev
This commit is contained in:
parent
917757b04c
commit
eba9ce361e
|
@ -182,10 +182,10 @@ Blockchain.prototype.run = function() {
|
|||
self.child.stderr.on('data', async (data) => {
|
||||
data = data.toString();
|
||||
if (!self.readyCalled && data.indexOf('WebSocket endpoint opened') > -1) {
|
||||
if (self.config.proxy) {
|
||||
await self.setupProxy();
|
||||
}
|
||||
if (self.isDev) {
|
||||
if (self.config.proxy) {
|
||||
await self.setupProxy();
|
||||
}
|
||||
self.createFundAndUnlockAccounts((err) => {
|
||||
// TODO: this is never called!
|
||||
if(err) console.error('Error creating, unlocking, and funding accounts', err);
|
||||
|
|
Loading…
Reference in New Issue