-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
The leaderboard crashes when the fork observer returns node info with an unknown version string, because getVersionNumber assumes the string contains : and ends up indexing into undefined.
Reference:
warnet-web/src/helpers/index.ts
Line 73 in aec0175
| export const getVersionNumber = (version: string) => { |
export const getVersionNumber = (version: string) => {
// get the version number from the version string
return version.split(":")[1].split("/")[0].split("(")[0] ?? false;
}

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels