Skip to content

Commit

Permalink
Fixed events when emitted in WebSocketProvider (ethers-io#3767, ether…
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo authored and Woodpile37 committed Jan 14, 2024
1 parent 957bbe6 commit b3ea5f2
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 b3ea5f2

Please sign in to comment.