Skip to content

Commit

Permalink
Fix double quotation mark derivation path
Browse files Browse the repository at this point in the history
  • Loading branch information
moisses89 committed Jun 14, 2024
1 parent bebbba2 commit df0de80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/safe_cli/operators/hw_wallets/hw_wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@

class HwWallet(ABC):
def __init__(self, derivation_path: str):
derivation_path = derivation_path.replace("m/", "")
# Remove quoting and unnecessary
derivation_path = derivation_path.replace('"', "").replace("m/", "")
if self._is_valid_derivation_path(derivation_path):
self.derivation_path = derivation_path
self.address = self.get_address()
Expand Down

0 comments on commit df0de80

Please sign in to comment.