Skip to content

Fix address validation - #254

Merged
h0ngcha0 merged 1 commit into
masterfrom
fix-address-validation
Dec 21, 2025
Merged

Fix address validation#254
h0ngcha0 merged 1 commit into
masterfrom
fix-address-validation

Conversation

@Lbqds

@Lbqds Lbqds commented Dec 20, 2025

Copy link
Copy Markdown
Member

The current regex-based address validation treats addresses with a :0 postfix as invalid, while accepting :4 as valid. This PR uses web3.isValidAddress instead.

@Lbqds
Lbqds requested a review from h0ngcha0 December 20, 2025 23:53

@polarker polarker left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM 👍

@h0ngcha0 h0ngcha0 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM 👍

@h0ngcha0
h0ngcha0 merged commit 4757dae into master Dec 21, 2025
1 of 2 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.

3 participants