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

add isBtcAddress validator #1163

Merged
merged 1 commit into from
Feb 3, 2020
Merged

Conversation

michaelcerne
Copy link
Contributor

Prior pull requests did not account for the newest variety of BTC addresses, Bech32.

This function also hints to the user that only BTC (Bitcoin) validation is handled, and BCH (also called Bitcoin) addresses are invalid.

@profnandaa
Copy link
Member

profnandaa commented Feb 1, 2020

Sorry for my late review on this; must have skipped me. Will review this weekend.

Copy link
Member

@profnandaa profnandaa left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for your contrib 🎉

Could you please rebase with validator.js:master then we can merge it?

@profnandaa profnandaa added ready-to-land For PRs that are reviewed and ready to be landed 🧹 needs-update For PRs that need to be updated before landing labels Feb 2, 2020
@michaelcerne
Copy link
Contributor Author

Let me know if there's any problems.

@profnandaa
Copy link
Member

@michaelcerne - all good, thanks!

@profnandaa profnandaa merged commit 46585ef into validatorjs:master Feb 3, 2020
@profnandaa profnandaa removed the 🧹 needs-update For PRs that need to be updated before landing label Feb 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-land For PRs that are reviewed and ready to be landed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants