Skip to content

Commit ffaafc0

Browse files
committed
Fixed events when emitted in WebSocketProvider (ethers-io#3767, ethers-io#3922).
1 parent 9373864 commit ffaafc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src.ts/providers/provider-socket.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export class SocketEventSubscriber extends SocketSubscriber {
126126
}
127127

128128
async _emit(provider: SocketProvider, message: any): Promise<void> {
129-
provider.emit(this.#logFilter, provider._wrapLog(message, provider._network));
129+
provider.emit(this.logFilter, provider._wrapLog(message, provider._network));
130130
}
131131
}
132132

0 commit comments

Comments
 (0)