Skip to content

Conversation

@tomt1664
Copy link
Member

Fix for the error messages returned for invalid address formats and encodings.

A valid bech32 or bletch32 encoding but with an invalid prefix (hrp) now returns 'Invalid prefix for Bech32 address'.

Previously returned 'Not a valid Bech32 or Base58 encoding'. The check for 'Invalid prefix for Bech32 address' was unreachable.

@tomt1664 tomt1664 requested a review from delta1 August 25, 2025 09:24
Copy link
Member

@delta1 delta1 left a comment

Choose a reason for hiding this comment

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

ACK 2339a3d

ran tests locally

@delta1 delta1 merged commit 9f1cc94 into ElementsProject:master Aug 25, 2025
14 checks passed
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