Skip to content

doc(pyth-solana-receiver): fix treasury id in examples #2568

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ async function main() {
);
// Use a stable treasury ID of 0, since its address is indexed in the address lookup table.
// This is a tx size optimization and is optional. If not provided, a random treasury account will be used.
const treasuryId = 1;
const treasuryId = 0;
const pythSolanaReceiver = new PythSolanaReceiver({
connection,
wallet,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async function main() {
);
// Use a stable treasury ID of 0, since its address is indexed in the address lookup table.
// This is a tx size optimization and is optional. If not provided, a random treasury account will be used.
const treasuryId = 1;
const treasuryId = 0;
const pythSolanaReceiver = new PythSolanaReceiver({
connection,
wallet,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pythnetwork/pyth-solana-receiver",
"version": "0.10.0",
"version": "0.10.1",
"description": "Pyth solana receiver SDK",
"homepage": "https://pyth.network",
"main": "lib/index.js",
Expand Down
Loading