Open matthewjablack opened 3 years ago
Currently validateAddress fails for p2sh-segwit addresses in bitcoin-utils.
validateAddress
One would expect these types of addresses to succeed for all types of addresses... legacy, p2sh-segwit, segwit.
If this function is specifically to be used for validating swap addresses, then it should probably be renamed to validateSwapAddress.
validateSwapAddress
@monokh any actions here?
Currently
validateAddress
fails for p2sh-segwit addresses in bitcoin-utils.One would expect these types of addresses to succeed for all types of addresses... legacy, p2sh-segwit, segwit.
If this function is specifically to be used for validating swap addresses, then it should probably be renamed to
validateSwapAddress
.