diff --git a/governance/xc_admin/packages/xc_admin_common/src/deterministic_oracle_accounts.ts b/governance/xc_admin/packages/xc_admin_common/src/deterministic_oracle_accounts.ts index cae7a61f12..66c794fe5a 100644 --- a/governance/xc_admin/packages/xc_admin_common/src/deterministic_oracle_accounts.ts +++ b/governance/xc_admin/packages/xc_admin_common/src/deterministic_oracle_accounts.ts @@ -64,10 +64,10 @@ export async function findDetermisticAccountAddress( symbol: string, cluster: PythCluster ): Promise<[PublicKey, string]> { - const seed: string = getSeed(type, symbol); + const seed: string = getSeed(type, symbol).slice(0, 32); const address: PublicKey = await PublicKey.createWithSeed( PRICE_FEED_OPS_KEY, - seed.slice(32), + seed, getPythProgramKeyForCluster(cluster) ); return [address, seed];