Skip to content

Better errors for address use from wrong network #20809

@instagibbs

Description

@instagibbs

I spent too long to figure out I was putting mainnet addresses to regtest node, errors weren't helpful at getaddressinfo and validateaddress.

Seems like a good first issue to augment the error messages when prefix/hrp don't match current network.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions