Replies: 1 comment 1 reply
-
Are you running the latest version of ethers? I believe this should have recently been fixed… |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to unsubscribe all listeners for the pending events. The code below is for illustration. The code below is writing all the pending txs to the console but after 3 seconds I get the error: "(node:20268) UnhandledPromiseRejectionWarning: Error: subscription not found" and crashes. I would just expect the listener to stop writing to console. Adding the listener name with provider.listeners() or using provider.removeAllListeners() gives the same error. What is going on here?
Beta Was this translation helpful? Give feedback.
All reactions