Skip to content

Commit 1e559e2

Browse files
committed
doc: fix treasury id
1 parent c9e6665 commit 1e559e2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

target_chains/solana/sdk/js/pyth_solana_receiver/examples/post_price_update.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ async function main() {
3232
);
3333
// Use a stable treasury ID of 0, since its address is indexed in the address lookup table.
3434
// This is a tx size optimization and is optional. If not provided, a random treasury account will be used.
35-
const treasuryId = 1;
35+
const treasuryId = 0;
3636
const pythSolanaReceiver = new PythSolanaReceiver({
3737
connection,
3838
wallet,

target_chains/solana/sdk/js/pyth_solana_receiver/examples/update_price_feed.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ async function main() {
3434
);
3535
// Use a stable treasury ID of 0, since its address is indexed in the address lookup table.
3636
// This is a tx size optimization and is optional. If not provided, a random treasury account will be used.
37-
const treasuryId = 1;
37+
const treasuryId = 0;
3838
const pythSolanaReceiver = new PythSolanaReceiver({
3939
connection,
4040
wallet,

0 commit comments

Comments
 (0)