From e0c4dc723ab67e64b5f629a7b3f24f27347fe2e0 Mon Sep 17 00:00:00 2001 From: Joshy Orndorff Date: Tue, 16 Apr 2024 20:37:39 -0400 Subject: [PATCH] remove unnecessary clone --- tuxedo-core/src/verifier/multi_signature.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tuxedo-core/src/verifier/multi_signature.rs b/tuxedo-core/src/verifier/multi_signature.rs index 7a85f8f7..a03e0542 100644 --- a/tuxedo-core/src/verifier/multi_signature.rs +++ b/tuxedo-core/src/verifier/multi_signature.rs @@ -75,7 +75,7 @@ impl Verifier for ThresholdMultiSignature { { let set: BTreeMap = 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() {