Skip to content

Commit

Permalink
fix: updated holskey beaconcha address
Browse files Browse the repository at this point in the history
  • Loading branch information
rickimoore committed Jun 18, 2024
1 parent aee8c74 commit a846f81
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/recoil/selectors/selectBeaconChaBaseUrl.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import { selector } from 'recoil'
import { BeaconChaValidatorUrl, GoerliBeaconChaValidatorUrl } from '../../constants/constants'
import {
BeaconChaValidatorUrl,
HoleskyBeaconChaValidatorUrl
} from '../../constants/constants';
import { Network } from '../../constants/enums'
import { selectBnChain } from './selectBnChain'

Expand All @@ -8,6 +11,6 @@ export const selectBeaconChaBaseUrl = selector({
get: ({ get }) => {
return get(selectBnChain) === Network.Mainnet
? BeaconChaValidatorUrl
: GoerliBeaconChaValidatorUrl
: HoleskyBeaconChaValidatorUrl
},
})

0 comments on commit a846f81

Please sign in to comment.