Compare commits
No commits in common. "175d66c99497f9537e8a0d7f0ad522e79a0aa37c" and "e822ccfd127103ff84ca95a9eeaef517e3ade50f" have entirely different histories.
175d66c994
...
e822ccfd12
|
@ -72,7 +72,7 @@ class DHTFlood extends events_1.default {
|
||||||
async onopen() {
|
async onopen() {
|
||||||
self.emit("peer-open", peer);
|
self.emit("peer-open", peer);
|
||||||
},
|
},
|
||||||
async ondestroy() {
|
async onclose() {
|
||||||
self.emit("peer-remove", peer);
|
self.emit("peer-remove", peer);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
|
@ -95,7 +95,7 @@ export default class DHTFlood extends EventEmitter {
|
||||||
async onopen() {
|
async onopen() {
|
||||||
self.emit("peer-open", peer);
|
self.emit("peer-open", peer);
|
||||||
},
|
},
|
||||||
async ondestroy() {
|
async onclose() {
|
||||||
self.emit("peer-remove", peer);
|
self.emit("peer-remove", peer);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue