Skip to content
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

Program security - Account data matching lesson updated #440

Conversation

0xCipherCoder
Copy link
Contributor

Problem

Summary of Changes

  • Updated code snippets with the latest anchor version
  • Fixed content,
  • Fixed grammar and styling
  • Fixed as per guidelines

Fixes #
Unboxed PRs
Starter - solana-developers/account-data-matching#2
Solution - solana-developers/account-data-matching#3

@0xCipherCoder
Copy link
Contributor Author

@mikemaccana Please review this once. Let me know if any suggestions.

evaluates to true. Alternatively, you can use `has_one` to check that a target
account field stored on the account matches the key of an account in the
`Accounts` struct.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Weird but markdown highlighting goes wrong after this step. ('in' 'struct' etc are highlighted in text). Not sure if it's the PR or a github bug.

content/courses/program-security/account-data-matching.md Outdated Show resolved Hide resolved
@mikemaccana mikemaccana merged commit e019790 into solana-foundation:main Oct 4, 2024
2 checks passed
adpthegreat pushed a commit to adpthegreat/developer-content that referenced this pull request Oct 23, 2024
…ation#440)

* Added fix for code snippets and content

* Update content/courses/program-security/account-data-matching.md

---------

Co-authored-by: Mike MacCana <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants