Skip to content

No wallet type validation createMnemonicProvider #330

Description

@i582

Description

User input via ENV variables is not validated in createMnemonicProvider, this may result in an exception in the MnemonicProvider.createWallet method.

Steps to Reproduce

  1. Call createMnemonicProvider() with WALLET_VERSION env variable set to "aaaaaa"
  2. Call MnemonicProvider.createWallet()
  3. Find out

Environment

No response

Logs or Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    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