From 8581af82bf9a1478ca7ad1839614baa1c04c6d08 Mon Sep 17 00:00:00 2001 From: Kristin Kirkov Date: Mon, 5 Aug 2024 16:18:03 +0300 Subject: [PATCH] refactor(ssz-utils): Add return type to `computeSyncCommitteePeriodAt --- libs/typescript/ts-utils/ssz-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/typescript/ts-utils/ssz-utils.ts b/libs/typescript/ts-utils/ssz-utils.ts index 2be42cef3..fff8f5eee 100644 --- a/libs/typescript/ts-utils/ssz-utils.ts +++ b/libs/typescript/ts-utils/ssz-utils.ts @@ -110,7 +110,7 @@ export async function getBlockHeaderFromUpdate(head) { export function computeSyncCommitteePeriodAt( slot: bigint, slots_per_period: bigint, -) { +): bigint { return slot / slots_per_period; }