Closed W3stside closed 1 month ago
Closes #147
Broken chain switching as derived chain was parsed incorrectly with passed in types. See #147
Error in console BEFORE change:
blockExplorersUrl: "h" is because of the previous wrong code:
blockExplorersUrl: "h"
chain.blockExplorers?.default.url[0]
when url => e.g "https://sepolia-infura.io/api/v2" it would grab first string character at index0equalling"h"`
url
"https://sepolia-infura.io/api/v2" it would grab first string character at index
equalling
Thanks a lot for your PR, I have added the same change in my latest update to the connector.
Closes #147
Motivation and Context
Broken chain switching as derived chain was parsed incorrectly with passed in types. See #147
Screenshots
Error in console BEFORE change:
blockExplorersUrl: "h"
is because of the previous wrong code:when
url
=> e.g"https://sepolia-infura.io/api/v2" it would grab first string character at index
0equalling
"h"`