seed: clone node before deriving

This commit is contained in:
Jan Pochyla 2016-11-11 11:21:47 +01:00
parent b9cec468b7
commit 90b2f3a3e0
1 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,8 @@ _cached_root_node = None
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)
return node