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
web3-1.0.0-beta.31_clearSubscriptions_bug_demo.html:22 TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at a.u.clearSubscriptions (web3.min.js:1)
at web3-1.0.0-beta.31_clearSubscriptions_bug_demo.html:19
(anonymous) @ web3-1.0.0-beta.31_clearSubscriptions_bug_demo.html:22
The text was updated successfully, but these errors were encountered:
dhl
changed the title
web3.shh.clearSubscriptions throws TypeError and fails
web3.shh.clearSubscriptions throws TypeError and fails
Mar 17, 2018
Calling
web3.shh.clearSubscriptions
to clear subscriptions fail with a TypeError, with or without any active subscriptions.System information
web3.js version:
1.0.0-beta.31
Browser Version: Chrome 64.0.3282.186
Commit hash : 956cdc5
Expected behaviour
web3.shh.clearSubscriptions
would execute with no error with or without an active subscription.Actual behaviour
web3.shh.clearSubscriptions
fails with a TypeError whether or not an active subscription exists.Steps to reproduce the behaviour
A gist was prepared to demonstrate the two failure cases.
See https://gist.github.com/dhl/b463ce9a6bd09e87fe74c992d7958d53
Backtrace
The text was updated successfully, but these errors were encountered: