Skip to content

Commit

Permalink
verified technical requirements and resolved warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ritikbhatt20 committed Nov 26, 2024
1 parent 5143122 commit 7bd9df1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pub mod program_derived_addresses {
Ok(())
}
pub fn increment(ctx: Context<IncrementContext>) -> Result<()> {
ctx.accounts.page_visits.page_visits = ctx.accounts.page_visits.page_visits + 1;
ctx.accounts.page_visits.page_visits += 1;
Ok(())
}
}
Expand Down

0 comments on commit 7bd9df1

Please sign in to comment.