Skip to content

Commit

Permalink
js: update vault owner
Browse files Browse the repository at this point in the history
  • Loading branch information
dr497 committed Feb 2, 2024
1 parent 5cd73ef commit ef4500c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/src/bindings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ export const registerDomainName = async (
}
}

const vault = getAssociatedTokenAddressSync(mint, VAULT_OWNER);
const vault = getAssociatedTokenAddressSync(mint, VAULT_OWNER, true);
const pythFeed = PYTH_FEEDS.get(mint.toBase58());

if (!pythFeed) {
Expand Down
6 changes: 5 additions & 1 deletion js/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,14 @@ export const PYTH_MAPPING_ACC = new PublicKey(
"AHtgzX45WTKfkPG53L6WYhGEXwQkN1BVknET3sVsLL8J",
);

export const VAULT_OWNER = new PublicKey(
export const VAULT_OWNER_DEPRECATED = new PublicKey(
"GcWEQ9K78FV7LEHteFVciYApERk5YvQuFDQPk1yYJVXi",
);

export const VAULT_OWNER = new PublicKey(
"5D2zKog251d6KPCyFyLMt3KroWwXXPWSgTPyhV22K2gR",
);

export const CUSTOM_BG_TLD = new PublicKey(
"BPeXUQDqGbzxeK1LJby6ugvCBuo7kRSEUkjD726mUVsz",
);
Expand Down

0 comments on commit ef4500c

Please sign in to comment.