Skip to content
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

[bug] Cannot add token to the wallet - W #1024

Closed
wants to merge 1 commit into from

Conversation

danielisaacgeslin
Copy link
Contributor

@@ -235,7 +235,7 @@ export const ENV: Env = {
icon: "https://assets.coingecko.com/coins/images/35087/standard/womrhole_logo_full_color_rgb_2000px_72ppi_fb766ac85a.png?1708688954",
coinGeckoId: "wormhole",
decimals: {
Ethereum: 18,
Ethereum: 6,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change could give erros in other cases, the solution should be modify the logic in this code https://github.com/wormhole-foundation/wormhole-connect/blob/5aa4b55c38b836da65e965111e2ab7278854275d/wormhole-connect/src/utils/index.ts#L116-L134, so that in this case (a token bridge route not an ntt https://wormholescan.io/#/tx/1/ec7372995d5cc8732397fb0ad35c0121e0eaa90d26f828a534cab54391b3a4f5/920703?view=advanced), instead of taking the Ethereum value, it takes the default value

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants