mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 23:08:14 +00:00
core: improve type annotation for bip32.derive_path
This commit is contained in:
parent
8e44132d3c
commit
fa757f4b7f
@ -223,7 +223,7 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_2(mod_trezorcrypto_HDNode_derive_cardano_obj,
|
||||
|
||||
#endif
|
||||
|
||||
/// def derive_path(self, path: List[int]) -> None:
|
||||
/// def derive_path(self, path: Sequence[int]) -> None:
|
||||
/// """
|
||||
/// Go through a list of indexes and iteratively derive a child node in
|
||||
/// place.
|
||||
|
@ -30,7 +30,7 @@ class HDNode:
|
||||
Derive a BIP0032 child node in place using Cardano algorithm.
|
||||
"""
|
||||
|
||||
def derive_path(self, path: List[int]) -> None:
|
||||
def derive_path(self, path: Sequence[int]) -> None:
|
||||
"""
|
||||
Go through a list of indexes and iteratively derive a child node in
|
||||
place.
|
||||
|
Loading…
Reference in New Issue
Block a user