You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Muhammad-Altabba
changed the title
Subscribe to 2 events with single web3 instance seem to not work properly.
Subscribing to multiple blockchain events causes the listeners to be fired for every registered event
Jun 18, 2023
Muhammad-Altabba
changed the title
Subscribing to multiple blockchain events causes the listeners to be fired for every registered event
Subscribing to multiple blockchain events causes every listener to be fired for every registered event
Jun 18, 2023
Lets consider this code:
Expected behavior
I'd expect pendingTxsSub to spit just txs and headSubs to only console.log new block headers.
Actual behavior
Steps to reproduce the behavior
Environment
Node 18.12.0, Web3 4.0.1
The text was updated successfully, but these errors were encountered: