1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-13 19:18:56 +00:00

Added comment to path validation

This commit is contained in:
Adrian Nagy 2019-04-18 14:37:11 +02:00
parent 2dd1ae6491
commit dce60da6ec

View File

@ -45,6 +45,8 @@ def validate_full_path(path: list) -> bool:
"""
Validates derivation path to equal 44'/1729'/a',
where `a` is an account index from 0 to 1 000 000.
Additional component added to allow ledger migration
44'/1729'/0'/b' where `b` is an account index from 0 to 1 000 000
"""
length = len(path)
print(path)