Skip to content

Validate addresses against chain type #7

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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