Skip to content

Commit

Permalink
Fixed events when emitted in WebSocketProvider (#3767, #3922).
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Mar 28, 2023
1 parent 9373864 commit ffaafc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src.ts/providers/provider-socket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export class SocketEventSubscriber extends SocketSubscriber {
}

async _emit(provider: SocketProvider, message: any): Promise<void> {
provider.emit(this.#logFilter, provider._wrapLog(message, provider._network));
provider.emit(this.logFilter, provider._wrapLog(message, provider._network));
}
}

Expand Down

0 comments on commit ffaafc0

Please sign in to comment.