mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-25 07:48:10 +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
|
#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
|
/// Go through a list of indexes and iteratively derive a child node in
|
||||||
/// place.
|
/// place.
|
||||||
|
@ -30,7 +30,7 @@ class HDNode:
|
|||||||
Derive a BIP0032 child node in place using Cardano algorithm.
|
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
|
Go through a list of indexes and iteratively derive a child node in
|
||||||
place.
|
place.
|
||||||
|
Loading…
Reference in New Issue
Block a user