Skip to content
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.

Changing denomination in settings causes "undefined" value in UI #406

Open
matteyu opened this issue Oct 13, 2020 · 1 comment
Open

Changing denomination in settings causes "undefined" value in UI #406

matteyu opened this issue Oct 13, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@matteyu
Copy link

matteyu commented Oct 13, 2020

Describe the bug
If the base denomination is set to something else (for example uatom) and you change the bondDenom and denom (within coins) to ubob in the settings.json file, you will get an undefined value in the UI. This will happen if it does not match the base denom from your cosmos daemon

To Reproduce
Steps to reproduce the behavior:

  1. Change bondDenom and denom (within coins) in settings.json to (for example) ubob (keeping uatom in your cosmos daemon)
  2. Start BigDipper

Expected behavior
Denomination should be ubobm and not "undefined".

Additional context
There should be an option to change the display of the base denomination (micro denom) just like how you can change "ATOM" to something else.

@kwunyeung kwunyeung added the bug Something isn't working label Oct 14, 2020
@kwunyeung
Copy link
Member

Thanks for reporting. I think we should test if the bondDenom exists in the coins object.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants