Skip to content

Validate addresses against chain type #7

@ImplOfAnImpl

Description

@ImplOfAnImpl

Currently addresses that are passed in messages are not (or not always) validated against the chain type. So it's possible to pass a testnet address when working with mainnet and vice versa, e.g. see the test test_mintlayer_sign_tx in tests/device_tests/mintlayer/test_sign_tx.py where mxanyonecanspend1qqx4x7pk is used for all chain types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions