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

Fix number of native tokens in migration summary #4578

Open
cpl121 opened this issue Dec 20, 2024 · 0 comments · May be fixed by #4619
Open

Fix number of native tokens in migration summary #4578

cpl121 opened this issue Dec 20, 2024 · 0 comments · May be fixed by #4619
Assignees
Labels
tooling Issues related to the Tooling team wallet-dashboard Issues related to the Wallet Dashboard dApp
Milestone

Comments

@cpl121
Copy link
Member

cpl121 commented Dec 20, 2024

Bug description

Image

The sum of the native tokens is not correct, we need to count the different types of native tokens, not the number of bags of native tokens. In the example above, there are 2 types of native tokens, BOX_COIN and TOOL_COIN, but the number of native tokens is 6

totalNativeTokens += parseInt(outputObjectFields.native_tokens.fields.size);

@cpl121 cpl121 added tooling Issues related to the Tooling team wallet-dashboard Issues related to the Wallet Dashboard dApp labels Dec 20, 2024
@cpl121 cpl121 added this to the Mainnet milestone Dec 20, 2024
@evavirseda evavirseda assigned evavirseda and unassigned evavirseda Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tooling Issues related to the Tooling team wallet-dashboard Issues related to the Wallet Dashboard dApp
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants