Compare commits

..

No commits in common. "175d66c99497f9537e8a0d7f0ad522e79a0aa37c" and "e822ccfd127103ff84ca95a9eeaef517e3ade50f" have entirely different histories.

2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View File

@ -72,7 +72,7 @@ class DHTFlood extends events_1.default {
async onopen() {
self.emit("peer-open", peer);
},
async ondestroy() {
async onclose() {
self.emit("peer-remove", peer);
},
});

View File

@ -95,7 +95,7 @@ export default class DHTFlood extends EventEmitter {
async onopen() {
self.emit("peer-open", peer);
},
async ondestroy() {
async onclose() {
self.emit("peer-remove", peer);
},
});