GetScatter/scatter-js

Add custom network globe icon is broken in v. 12.0.0

Closed this issue · 3 comments

Hello!

I just upgraded to v. 12.0.0 on Windows.

When adding a custom network, and clicking the Chain ID icon, i get this error:

TypeError: Cannot read property 'getChainId' of undefined
    at a.fetchChainId (main.bundle.js:1)
    at Ke (vendor~daa565d3.bundle.js:2)
    at a.n (vendor~daa565d3.bundle.js:2)
    at Ke (vendor~daa565d3.bundle.js:2)
    at a.e.$emit (vendor~daa565d3.bundle.js:2)
    at a.emitDynamicButton (main.bundle.js:1)
    at Ke (vendor~daa565d3.bundle.js:2)
    at HTMLElement.n (vendor~daa565d3.bundle.js:2)
    at HTMLElement.o._wrapper (vendor~daa565d3.bundle.js:2)

I am not able to add the network without clicking the globe icon.
Error seems to be there with both our own sidechain, and e.g. nodes.get-scatter.com

Did something break? :)

just a quick workaround that worked for me:
I went to /v1/chain/get_info and pasted chain_id manually
the network has been successfully added

nevertheless, voting for the fix

confirmed, that adding it manually works 👍

crossposted to scatter desktop, closing this
GetScatter/ScatterDesktop#483