*Fix typo

This commit is contained in:
Derrick Hammer 2023-02-16 21:57:49 -05:00
parent 2a533d6f7f
commit 5f733195c4
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -318,7 +318,7 @@ async function handleListenConnections(aq: ActiveQuery) {
aq.respond();
});
swarm.activeRelay.dht.one("close", () => {
swarm.activeRelay.dht.once("close", () => {
swarm.off("connection", listener);
swarm.emit("close");
aq.respond();