pool: fix port for options.

This commit is contained in:
Christopher Jeffrey 2017-01-23 03:50:54 -08:00
parent a52db227e3
commit dc9f31f36f
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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');