From 6f70bafdc381da77b682522b70a3ee9e2700229a Mon Sep 17 00:00:00 2001 From: Enzo Cioppettini Date: Mon, 4 Dec 2023 21:32:50 -0300 Subject: [PATCH] remove old TODO the cast is probably clearer than the alternatives --- packages/engine/paima-runtime/src/cde-config/utils.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/engine/paima-runtime/src/cde-config/utils.ts b/packages/engine/paima-runtime/src/cde-config/utils.ts index 580dc16d0..88c53972a 100644 --- a/packages/engine/paima-runtime/src/cde-config/utils.ts +++ b/packages/engine/paima-runtime/src/cde-config/utils.ts @@ -13,7 +13,6 @@ export function getEarliestStartBlockheight(config: ChainDataExtension[]): numbe return null; } }) - // TODO: can this cast be avoided? .filter(sbh => !!sbh) as number[]; const minStartBlockheight = Math.min(...startBlockheights); return isFinite(minStartBlockheight) ? minStartBlockheight : -1;