Skip to content

Commit

Permalink
remove old TODO
Browse files Browse the repository at this point in the history
the cast is probably clearer than the alternatives
  • Loading branch information
ecioppettini committed Dec 5, 2023
1 parent 72d896d commit 6f70baf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/engine/paima-runtime/src/cde-config/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6f70baf

Please sign in to comment.