File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed
governance/xc_admin/packages/xc_admin_common/src/programs Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -121,14 +121,6 @@ export function getProgramAddress(cluster: PythCluster): PublicKey {
121
121
return getPythProgramKeyForCluster ( cluster ) ;
122
122
}
123
123
124
- /**
125
- * Check if the Pyth Core program is available on the specified cluster
126
- */
127
- export function isAvailableOnCluster ( cluster : PythCluster ) : boolean {
128
- // Pyth Core is available on all clusters
129
- return true ;
130
- }
131
-
132
124
/**
133
125
* Parse raw on-chain accounts into the Pyth Core configuration format
134
126
*/
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ export const isAvailableOnCluster: Record<
37
37
ProgramType ,
38
38
( cluster : PythCluster ) => boolean
39
39
> = {
40
- [ ProgramType . PYTH_CORE ] : pythCore . isAvailableOnCluster ,
40
+ [ ProgramType . PYTH_CORE ] : ( ) => true , // Pyth Core is available on all clusters - using direct value instead of a trivial function
41
41
[ ProgramType . PYTH_LAZER ] : pythLazer . isAvailableOnCluster ,
42
42
} ;
43
43
You can’t perform that action at this time.
0 commit comments