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

Conversation

tejasbadadare
Copy link
Contributor

Summary

The examples correctly mention that treasury id 0 is chosen as a default because that treasury account is cached in the account lookup table. However, the code actually sets id 1. This PR fixes that.

Copy link

vercel bot commented Apr 7, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
proposals ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 7, 2025 9:40pm
5 Skipped Deployments
Name Status Preview Comments Updated (UTC)
api-reference ⬜️ Ignored (Inspect) Visit Preview Apr 7, 2025 9:40pm
component-library ⬜️ Ignored (Inspect) Visit Preview Apr 7, 2025 9:40pm
entropy-debugger ⬜️ Ignored (Inspect) Visit Preview Apr 7, 2025 9:40pm
insights ⬜️ Ignored (Inspect) Visit Preview Apr 7, 2025 9:40pm
staking ⬜️ Ignored (Inspect) Visit Preview Apr 7, 2025 9:40pm

@tejasbadadare tejasbadadare requested a review from a team as a code owner April 7, 2025 21:30
@tejasbadadare tejasbadadare merged commit c7b1f4a into main Apr 8, 2025
10 checks passed
@tejasbadadare tejasbadadare deleted the tb/solana-receiver/fix-treasury-id-in-examples branch April 8, 2025 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants