pool: minor.
This commit is contained in:
parent
e738a80988
commit
cdad00944c
@ -228,8 +228,8 @@ Pool.prototype._open = co(function* _open() {
|
|||||||
|
|
||||||
this.logger.info('Pool loaded (maxpeers=%d).', this.options.maxOutbound);
|
this.logger.info('Pool loaded (maxpeers=%d).', this.options.maxOutbound);
|
||||||
|
|
||||||
if (this.identityKey) {
|
if (this.options.bip150) {
|
||||||
key = ec.publicKeyCreate(this.identityKey, true);
|
key = ec.publicKeyCreate(this.options.identityKey, true);
|
||||||
this.logger.info('Identity public key: %s.', key.toString('hex'));
|
this.logger.info('Identity public key: %s.', key.toString('hex'));
|
||||||
this.logger.info('Identity address: %s.', BIP150.address(key));
|
this.logger.info('Identity address: %s.', BIP150.address(key));
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user