We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Why do Bitcoin addresses pass Litecoin address test?
Replicating this issue:
const bitcoinAddress="3Kv8t7Bg2iYe7uQh8AfcxtDT4Y6AwNJ2fK" const valid =WAValidator.validate(bitcoinAddress, `LTC`); if (valid) { console.log("This is a valid litecoin address") }
The text was updated successfully, but these errors were encountered:
This is a P2SH starting with 3 (old format) instead of M (new format) address, it's valid in both BTC and LTC.
See:
https://cryptofacilities.zendesk.com/hc/en-us/articles/360006040974-Litecoin-Address-Format https://www.reddit.com/r/Bitcoin/comments/3bjsfs/psa_be_careful_when_sending_litecoin_to_an/
Sorry, something went wrong.
bech32 bitcoin addresses pass Litecoin test too
Should be able to close this issue
No branches or pull requests
Why do Bitcoin addresses pass Litecoin address test?
Replicating this issue:
The text was updated successfully, but these errors were encountered: