-
-
Notifications
You must be signed in to change notification settings - Fork 39
Added Custom Network conditional #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Gudahtt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you update the other two modules as well? account-link and token-tracker-link also use the getPrefixForNetwork function in the same way.
|
Done! 🙂 |
Gudahtt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Custom networks now return an empty url string instead of broken etherscan url when passed in a custom network id.
This PR builds on top of this Github Issue and should fix the broken etherscan url for custom networks. MetaMask/metamask-extension#5631