*Use createSocket not createClient

This commit is contained in:
Derrick Hammer 2023-02-06 03:26:06 -05:00
parent fe04cbe10d
commit 875ba862f0
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ export class SwarmClient extends Client {
"listenConnections",
{ swarm: this.swarm },
(socketId: any) => {
this.emit("connection", createClient(socketId));
this.emit("connection", createSocket(socketId));
}
);
}