multicoin-address-validator icon indicating copy to clipboard operation
multicoin-address-validator copied to clipboard

Bitcoin P2SH addresses incorrectly pass Litecoin address validation

Open Zodomo opened this issue 9 months ago • 0 comments

If you pass a Bitcoin P2SH address into the validate function as so:

validate("32T3sEnqEjAKn8xJg6GKrnns6YXZ36TMR6", 'litecoin', 'prod');

It will return true. Litecoin P2SH addresses start with 'M', not '3'. Validate doesn't work properly here.

Zodomo avatar May 07 '24 22:05 Zodomo