Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinheavey committed Sep 25, 2024
1 parent 01fb235 commit cbe4a5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/pubkey/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ pub fn read_pubkey_file(infile: &str) -> Result<Pubkey, Box<dyn std::error::Erro
.into());
}
let contents = &trimmed[1..trimmed.len() - 1];
Ok(Pubkey::from_str(&contents)?)
Ok(Pubkey::from_str(contents)?)
}

#[cfg(test)]
Expand Down

0 comments on commit cbe4a5f

Please sign in to comment.