Skip to content

Commit 62e36fb

Browse files
committed
refactor: remove redundant programType parameter in Pyth configuration parsing
1 parent f38560a commit 62e36fb

File tree

1 file changed

+0
-1
lines changed
  • governance/xc_admin/packages/xc_admin_frontend/hooks

1 file changed

+0
-1
lines changed

governance/xc_admin/packages/xc_admin_frontend/hooks/usePyth.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ export const usePyth = (): PythHookData => {
5858

5959
// Use the functional approach to parse the accounts
6060
const parsedConfig = getConfig[ProgramType.PYTH_CORE]({
61-
programType: ProgramType.PYTH_CORE,
6261
accounts: allPythAccounts,
6362
cluster: cluster as PythCluster,
6463
})

0 commit comments

Comments
 (0)