Skip to content

Commit

Permalink
fix function name
Browse files Browse the repository at this point in the history
  • Loading branch information
Rinse12 committed Nov 9, 2023
1 parent 94d5de0 commit 2b5580a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpc/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class PlebbitWsServer extends EventEmitter {
this.emit("error", error);
});

this.emit("error", (err) => {
this.on("error", (err) => {
log.error(err);
});

Expand Down

0 comments on commit 2b5580a

Please sign in to comment.