safe-global / safe-cli

Command line utility for Safe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CLI session closed when using a derivation path with "" or '' with Trezor hardware wallet

JagoFigueroa opened this issue · comments

Describe the bug
Small issue where the CLI will crash when either "" or '' are used when trying to load an address from a derivation path on Trezor.

To Reproduce
Example command:

load_trezor_cli_owners --legacy-accounts --derivation-path "44'/60'/0'/0"

Expected behavior
Return an error, same as with ledger:

load_ledger_cli_owners --legacy-accounts --derivation-path "44'/60'/0'/0"
HwDevice exception: The provided derivation path is not valid

Current behaviour
The CLI crashes