Skip to content

Commit

Permalink
Never gonna handle recursion
Browse files Browse the repository at this point in the history
  • Loading branch information
Emojigit committed Dec 21, 2023
1 parent 31dd790 commit b3fab06
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bchosttrust/analysis/tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ def generate_tree(block_list: Iterable[BCHTBlock], from_block: bytes) -> Node:
"""

root = Node(from_block)
# TODO: Handle recursive (which should not but may happen)
for child in get_child(block_list, from_block):
child_block = generate_tree(block_list, child.hash)
child_block.parent = root
Expand Down

0 comments on commit b3fab06

Please sign in to comment.