cryptarchia: mk_chain only returns list now

This commit is contained in:
David Rusu 2025-03-21 15:58:33 +04:00
parent f50838e9ce
commit 23534abe7c

View File

@ -79,9 +79,7 @@ def mk_block(
)
def mk_chain(
parent: BlockHeader, note: Note, slots: list[int]
) -> tuple[list[BlockHeader], Note]:
def mk_chain(parent: BlockHeader, note: Note, slots: list[int]) -> list[BlockHeader]:
assert type(parent) == BlockHeader
chain = []
for s in slots: