Skip to content

Bitcoin Utils: Validate Address should succeed for proper p2sh-segwit addresses #429

@matthewjablack

Description

@matthewjablack

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions