Skip to content

Commit c7b1f4a

Browse files
doc(pyth-solana-receiver): fix treasury id in examples (#2568)
* doc: fix treasury id * doc: bump ver * ci: add newline
1 parent c9e6665 commit c7b1f4a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: target_chains/solana/sdk/js/pyth_solana_receiver/examples/post_price_update.ts

+1-1
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,

Diff for: target_chains/solana/sdk/js/pyth_solana_receiver/examples/update_price_feed.ts

+1-1
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,

Diff for: target_chains/solana/sdk/js/pyth_solana_receiver/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pythnetwork/pyth-solana-receiver",
3-
"version": "0.10.0",
3+
"version": "0.10.1",
44
"description": "Pyth solana receiver SDK",
55
"homepage": "https://pyth.network",
66
"main": "lib/index.js",

0 commit comments

Comments
 (0)