Skip to content

Commit

Permalink
removed mutable for unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
docongminh committed Jan 11, 2025
1 parent e4a0eac commit 7001eba
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ incremental = false
codegen-units = 1

[workspace.dependencies]
anchor-lang = "0.30.1"
anchor-lang = { version = "0.30.1", features = ["init-if-needed"] }
anchor-spl = "0.30.1"
anchor-client = "0.30.1"
clap = { version = "3.2.25", features = ["derive", "env"] }
Expand Down
2 changes: 1 addition & 1 deletion programs/locker/src/instructions/v3/claim.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ impl ClaimV3Params {
pub struct ClaimV3<'info> {
/// Claim status PDA
#[account(
init,
init_if_needed,
seeds = [
b"claim_status".as_ref(),
recipient.key().to_bytes().as_ref(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ impl CreateVestingEscrowV3Parameters {
#[event_cpi]
#[derive(Accounts)]
pub struct CreateVestingEscrowV3<'info> {
#[account(mut)]
pub base: Signer<'info>,

/// Escrow.
Expand Down

0 comments on commit 7001eba

Please sign in to comment.