Skip to content

fix(uphold): wrong balance - #1140

Merged
HashEngineering merged 3 commits into
masterfrom
fix-uphold-balance
Jun 20, 2023
Merged

HashEngineering merged 3 commits into
masterfrom
fix-uphold-balance

Conversation

@Syn-McJ

@Syn-McJ Syn-McJ commented Jun 20, 2023

Copy link
Copy Markdown
Member

Seems like the issue with the incorrect balance is that we're taking the first DASH card we see, while there could be more than one.

Issue being fixed or feature implemented

  • Return a list of DASH cards from GetCards instead of the first card.
  • For the total balance, sum over all balances. For the active card, take the first one with balance or just the first one if all are empty.
  • Move Uphold from Moshi to Gson.

Related PR's and Dependencies

Screenshots / Videos

How Has This Been Tested?

  • QA (Mobile Team)

Checklist:

  • I have performed a self-review of my own code and added comments where necessary
  • I have added or updated relevant unit/integration/functional/e2e tests

@Syn-McJ
Syn-McJ requested a review from HashEngineering June 20, 2023 07:14
@Syn-McJ Syn-McJ self-assigned this Jun 20, 2023
@HashEngineering
HashEngineering merged commit 6789d33 into master Jun 20, 2023
@Syn-McJ
Syn-McJ deleted the fix-uphold-balance branch June 21, 2023 08:38
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