feat(db): change function signature to avoid unpacking

This commit is contained in:
⟣ €₥ℵ∪ℓ ⟢ 2026-04-23 20:19:22 -04:00
parent 2a780a4435
commit aef4b1b876
No known key found for this signature in database
GPG Key ID: F57D7381FBAFD773

View File

@ -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.