Skip to content

Commit

Permalink
Update content/courses/onchain-development/anchor-pdas.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemaccana authored Oct 7, 2024
1 parent df6bd03 commit 2c5ae7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/courses/onchain-development/anchor-pdas.md
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ pub mod anchor_movie_review_program{
description: String,
rating: u8,
) -> Result<()> {
// We require that the rating is between 1 and 5
// We require that the rating is between 1 and 5
require!(rating >= MIN_RATING && rating <= MAX_RATING, MovieReviewError::InvalidRating);

// We require that the title is not longer than 20 characters
Expand Down

0 comments on commit 2c5ae7d

Please sign in to comment.