Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Commit

Permalink
Fix cargo lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
fishseabowl committed May 31, 2024
1 parent b76309c commit 99259eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/pallets/starknet/src/tests/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub fn sign_message_hash_braavos(
elements.extend_from_slice(
&signer_model.iter().map(|e| Felt252Wrapper::from(*e).into()).collect::<Vec<FieldElement>>(),
);
let braavos_hash = PedersenHasher::compute_hash_on_elements(elements.into_iter());
let braavos_hash = PedersenHasher::compute_hash_on_elements(elements);

let mut signatures = sign_message_hash(Felt252Wrapper(braavos_hash).into());
signatures.0.push(actual_impl_hash);
Expand Down

0 comments on commit 99259eb

Please sign in to comment.