Browse Source

fix io eph not being in sync

session-estimator
Mathias Buus 2 years ago
parent
commit
bfc0e19e92
  1. 1
      index.js

1
index.js

@ -63,6 +63,7 @@ class DHT extends EventEmitter {
this.table.on('row', this._onrow) this.table.on('row', this._onrow)
if (this.ephemeral === false) this.io.ephemeral = false
this.io.networkInterfaces.on('change', (interfaces) => this._onnetworkchange(interfaces)) this.io.networkInterfaces.on('change', (interfaces) => this._onnetworkchange(interfaces))
if (opts.nodes) { if (opts.nodes) {

Loading…
Cancel
Save