Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hirokisan committed Oct 29, 2024
1 parent 6a0ed45 commit 49cc503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/solprofile/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ pub fn get_default_signer_keypair_path() -> String {
}

pub fn get_profile_account(owner: &Pubkey, program_id: &Pubkey) -> (Pubkey, u8) {
pub const PROFILE_SEED: &'static [u8] = b"profile";
pub const PROFILE_SEED: &[u8] = b"profile";
Pubkey::find_program_address(&[PROFILE_SEED, owner.to_bytes().as_ref()], program_id)
}

0 comments on commit 49cc503

Please sign in to comment.