Skip to content

enhance test code and provide more explanation in project 2#50

Open
baiwfg2 wants to merge 1 commit intosolana-developers:mainfrom
baiwfg2:proj2-fix
Open

enhance test code and provide more explanation in project 2#50
baiwfg2 wants to merge 1 commit intosolana-developers:mainfrom
baiwfg2:proj2-fix

Conversation

@baiwfg2
Copy link
Copy Markdown

@baiwfg2 baiwfg2 commented Jul 1, 2025

Some descriptions in comments are my current understanding. Correct me if not quite right.


#[account(
mut,
mut, // Vote() will modify a given candidate
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be emphasized. The original code in video also made such a mistake.

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.

2 participants