Skip to content

Commit

Permalink
remove unnecessary clone
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshOrndorff committed Apr 17, 2024
1 parent bbd13a6 commit e0c4dc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tuxedo-core/src/verifier/multi_signature.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ impl Verifier for ThresholdMultiSignature {
{
let set: BTreeMap<u8, Signature> = sigs
.iter()
.map(|sig_and_index| (sig_and_index.index, sig_and_index.signature.clone()))
.map(|sig_and_index| (sig_and_index.index, sig_and_index.signature))
.collect();

if set.len() < sigs.len() {
Expand Down

0 comments on commit e0c4dc7

Please sign in to comment.