Skip to content

Commit

Permalink
go (#2265)
Browse files Browse the repository at this point in the history
  • Loading branch information
guibescos authored Jan 15, 2025
1 parent bf18253 commit d853ad2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit d853ad2

Please sign in to comment.