mirror of
https://github.com/logos-blockchain/logos-blockchain-specs.git
synced 2026-01-04 06:03:10 +00:00
cryptarchia: mk_chain only returns list now
This commit is contained in:
parent
f50838e9ce
commit
23534abe7c
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user