diff --git a/src/utils/arweave.ts b/src/utils/arweave.ts index ae1dae83..ee82daf4 100644 --- a/src/utils/arweave.ts +++ b/src/utils/arweave.ts @@ -22,5 +22,5 @@ export const validateArweaveId = (id: string): boolean => { }; export function isBlockHeight(height: string | number): height is BlockHeight { - return height !== undefined; + return height !== undefined && !isNaN(parseInt(height.toString())) }