-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
Describe the bug
The eosio.wrap account appears as not found when the problem is that the backend is not returning the total_resources data and the code fails to avoid the null value.
To Reproduce
https://explorer.telos.net/account/eosio.wrap?tab=transactions
Expected behavior
If it exists (in this case it does) the accounts must be shown.
If the account is a system account and it does not bring the resources info, we need to hide the resources detail and show something else instead (like a text explaining it's a system account and it does not have resources info).
Aditional info
The current problem is that the total_resources property comes null and WWE are not avoiding that null value:
stakedResources.value =
Number(accountData.value.total_resources.cpu_weight.value || 0) +
Number(accountData.value.total_resources.net_weight.value || 0);Metadata
Metadata
Assignees
Labels
No labels
