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

Cw 805 fix bch refund address #1782

Merged
merged 4 commits into from
Nov 5, 2024
Merged

Conversation

Serhii-Borodenko
Copy link
Contributor

@Serhii-Borodenko Serhii-Borodenko commented Oct 30, 2024

Issue Number (if Applicable): Fixes #

Description

Please include a summary of the changes and which issue is fixed / feature is added.

Pull Request - Checklist

  • Initial Manual Tests Passed
  • Double check modified code and verify it with the feature/task requirements
  • Format code
  • Look for code duplication
  • Clear naming for variables and methods

Copy link
Contributor

@OmarHatem28 OmarHatem28 left a comment

Choose a reason for hiding this comment

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

I wouldn't say that _formatBchAddress is a good name since it's not for only BCH addresses and you just make an if condition there

so I would prefer if you rename it to be something like normalizeAddress or something and add an if condition there, so that if we want to normalize more addresses, it would be generic and we can just add to this function

lib/view_model/contact_list/contact_list_view_model.dart Outdated Show resolved Hide resolved
lib/view_model/contact_list/contact_list_view_model.dart Outdated Show resolved Hide resolved
@OmarHatem28 OmarHatem28 merged commit 459f0d3 into main Nov 5, 2024
2 checks passed
@OmarHatem28 OmarHatem28 deleted the CW-805-Fix-BCH-refund-address branch November 5, 2024 09:33
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