mirror of https://github.com/BTCPrivate/copay.git
commit
aaf069e704
|
@ -32,7 +32,7 @@ function Network(opts) {
|
||||||
};
|
};
|
||||||
this.opts = {};
|
this.opts = {};
|
||||||
['config', 'port', 'host', 'path', 'debug', 'key', 'secure'].forEach(function(k) {
|
['config', 'port', 'host', 'path', 'debug', 'key', 'secure'].forEach(function(k) {
|
||||||
if (opts[k]) self.opts[k] = opts[k];
|
if (opts.hasOwnProperty(k)) self.opts[k] = opts[k];
|
||||||
});
|
});
|
||||||
this.cleanUp();
|
this.cleanUp();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue