pool: fix port for options.
This commit is contained in:
parent
a52db227e3
commit
dc9f31f36f
@ -3217,6 +3217,7 @@ PoolOptions.prototype.fromOptions = function fromOptions(options) {
|
||||
|
||||
this.port = this.network.port;
|
||||
this.seeds = this.network.seeds;
|
||||
this.address.port = this.network.port;
|
||||
|
||||
if (options.logger != null) {
|
||||
assert(typeof options.logger === 'object');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user