mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-16 02:10:55 +00:00
seed: clone node before deriving
This commit is contained in:
parent
b9cec468b7
commit
90b2f3a3e0
@ -12,7 +12,8 @@ _cached_root_node = None
|
|||||||
|
|
||||||
|
|
||||||
async def get_node(session_id: int, path: list):
|
async def get_node(session_id: int, path: list):
|
||||||
node = await get_root_node(session_id)
|
root = await get_root_node(session_id)
|
||||||
|
node = root.clone()
|
||||||
node.derive_path(path)
|
node.derive_path(path)
|
||||||
return node
|
return node
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user