From 23534abe7ca7997102a642444176d810b1e74164 Mon Sep 17 00:00:00 2001 From: David Rusu Date: Fri, 21 Mar 2025 15:58:33 +0400 Subject: [PATCH] cryptarchia: mk_chain only returns list now --- cryptarchia/test_common.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cryptarchia/test_common.py b/cryptarchia/test_common.py index 0022324..b5687e7 100644 --- a/cryptarchia/test_common.py +++ b/cryptarchia/test_common.py @@ -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: