From d853ad2c12511673f796341390228c912f032a81 Mon Sep 17 00:00:00 2001
From: guibescos <59208140+guibescos@users.noreply.github.com>
Date: Wed, 15 Jan 2025 21:12:20 +0100
Subject: [PATCH] go (#2265)

---
 .../xc_admin_common/src/deterministic_oracle_accounts.ts      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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];