Skip to content

Commit

Permalink
Fix: devnet7 (#322)
Browse files Browse the repository at this point in the history
  • Loading branch information
rickimoore authored Feb 27, 2025
1 parent e71278a commit 18c8282
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/constants/enums.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export enum Network {
Mainnet = 'Mainnet',
LocalTestnet = 'Local TestNet',
Holesky = 'Holesky',
Devnet7 = 'Devenet7',
Sepolia = 'Sepolia',
Mekong = 'Mekong',
}
Expand Down
5 changes: 4 additions & 1 deletion src/hooks/useElectraStatus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ const useElectraStatus = () => {
const currentVersion = data.current_version
const configName = CONFIG_NAME.toLowerCase()

if (configName === Network.Mekong.toLowerCase()) {
if (
configName === Network.Mekong.toLowerCase() ||
configName === Network.Devnet7.toLowerCase()
) {
return true
}

Expand Down

0 comments on commit 18c8282

Please sign in to comment.