1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-17 01:52:02 +00:00

trezorctl: accept also m/a/b/c as get_address path

This commit is contained in:
Pavol Rusnak 2016-10-29 14:59:57 +02:00
parent 43a224b091
commit 68d490917f
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -384,6 +384,11 @@ class ProtocolMixin(object):
return []
n = n.split('/')
# m/a/b/c => a/b/c
if n[0] == 'm':
n = n[1:]
path = []
for x in n:
prime = False