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

Fix decode of 'ltc1' prefixed non-segwit addresses #34

Merged
merged 1 commit into from
May 31, 2023

Conversation

CodeMonkeyLeet
Copy link

Port of martinboehm/btcutil#4, which is a simple fix to not early exit DecodeAddress when an address with the 'ltc1' segwit prefix fails decodeSegWitAddress, allowing it to fallthrough to attempt to decode it as a non-segwit address.

@coveralls
Copy link

coveralls commented May 31, 2023

Pull Request Test Coverage Report for Build 5127850114

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-41.2%) to 43.287%

Totals Coverage Status
Change from base Build 4743030427: -41.2%
Covered Lines: 16897
Relevant Lines: 39035

💛 - Coveralls

@losh11
Copy link
Member

losh11 commented May 31, 2023

Looks good, will test in a bit. Thanks 😄

@losh11 losh11 merged commit 8fd65a3 into ltcsuite:master May 31, 2023
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.

3 participants