Skip to content

Commit

Permalink
comment nit
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwardJES committed Dec 5, 2024
1 parent 690f469 commit e47a00c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bolt-cli/src/commands/delegate/web3signer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ pub async fn generate_from_web3signer(

/// A utility function to trim the pre-pended 0x prefix for hex strings.
fn trim_hex_prefix(hex: &str) -> Result<String> {
let trimmed = hex.get(2..).ok_or_else(|| eyre::eyre!("Invalid hex string {hex}"))?;
let trimmed = hex.get(2..).ok_or_else(|| eyre::eyre!("Invalid hex string: {hex}"))?;
Ok(trimmed.to_string())
}

Expand Down

0 comments on commit e47a00c

Please sign in to comment.