Compare commits
2 Commits
08dee10521
...
e822ccfd12
Author | SHA1 | Date |
---|---|---|
Derrick Hammer | e822ccfd12 | |
Derrick Hammer | 9d90468b82 |
|
@ -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);
|
||||
},
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue