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
const web3ws = new Web3(new Web3.providers.WebsocketProvider('ws://localhost:63116'));
await web3ws.eth.subscribe('newBlockHeaders');
await web3ws.eth.clearSubscriptions();
Get following error: Cannot read property 'size' of undefined at Eth.RequestManager.clearSubscriptions (node_modules/web3-core-requestmanager/src/index.js:266:28)
web3 1.2.7
ts-node 8.7.0
node 10.18.0
The text was updated successfully, but these errors were encountered:
Get following error:
Cannot read property 'size' of undefined
at Eth.RequestManager.clearSubscriptions (node_modules/web3-core-requestmanager/src/index.js:266:28)
web3 1.2.7
ts-node 8.7.0
node 10.18.0
The text was updated successfully, but these errors were encountered: