Skip to content

Commit

Permalink
fix: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bkioshn committed Sep 3, 2024
1 parent cd51ad4 commit c225438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hermes/crates/cardano-chain-follower/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ pub(crate) fn compare_key_hash(
return Err(anyhow::anyhow!("No public key addresses provided"));
}

pk_addrs.into_iter().try_for_each(|pk_addr| {
pk_addrs.iter().try_for_each(|pk_addr| {
let pk_addr: [u8; 28] = pk_addr.as_slice().try_into().map_err(|_| {
anyhow::anyhow!(
"Invalid length for vkey, expected 28 bytes but got {}",
Expand Down

0 comments on commit c225438

Please sign in to comment.