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

Cleanups for new core #4653

Merged
merged 7 commits into from
Dec 26, 2023
Merged

Cleanups for new core #4653

merged 7 commits into from
Dec 26, 2023

Conversation

swansontec
Copy link
Contributor

@swansontec swansontec commented Dec 22, 2023

We need to separate the two cases where tokenId: undefined means "parent currency" vs. when it means "we don't have this information".

For the GuiCurrencyInfo case, we just make tokenId mandatory. For the WalletListResult, I used a discriminated union to remove tokenId from cases where it's not relevant.

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

These are the preparatory fixes for #4641, as part of my PR review.

Requirements

If you have made any visual changes to the GUI. Make sure you have:

  • Tested on iOS device
  • Tested on Android device
  • Tested on small-screen device (iPod Touch)
  • Tested on large-screen device (tablet)

Copy link
Contributor

@samholmes samholmes left a comment

Choose a reason for hiding this comment

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

Minor nit

Copy link
Contributor

Choose a reason for hiding this comment

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

The type is called WalletListResult, so perhaps a change to the commit message is all that is needed to clarify this.

@swansontec swansontec enabled auto-merge December 26, 2023 17:27
@swansontec swansontec merged commit f7f0b92 into develop Dec 26, 2023
2 checks passed
@swansontec swansontec deleted the william/cleanups branch December 26, 2023 17:36
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