From aef4b1b876a859902e18ca24262c9d377e643130 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9F=A3=20=E2=82=AC=E2=82=A5=E2=84=B5=E2=88=AA=E2=84=93?= =?UTF-8?q?=20=E2=9F=A2?= <34749913+emnul@users.noreply.github.com> Date: Thu, 23 Apr 2026 20:19:22 -0400 Subject: [PATCH] feat(db): change function signature to avoid unpacking --- src/db/blocks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db/blocks.py b/src/db/blocks.py index 99721a7..76bd326 100644 --- a/src/db/blocks.py +++ b/src/db/blocks.py @@ -47,7 +47,7 @@ class BlockRepository: def __init__(self, client: DbClient): self.client = client - async def create(self, *blocks: Block, allow_chain_root: bool = False) -> None: + async def create(self, blocks: List[Block], allow_chain_root: bool = False) -> None: """ Insert blocks into the database with proper height calculation.