diff --git a/primitives/beefy/tests/light_client/mod.rs b/primitives/beefy/tests/light_client/mod.rs index 8825a4f2dc0d1..b5c0d827ea20c 100644 --- a/primitives/beefy/tests/light_client/mod.rs +++ b/primitives/beefy/tests/light_client/mod.rs @@ -217,7 +217,7 @@ impl LightClient { let mut valid = 0; for (signature, public) in signatures.into_iter().zip(validator_set.1.iter()) { match signature { - Some(signature) if signature.is_valid_for(&public) => { + Some(signature) if signature.is_valid_for(public) => { valid += 1; } _ => {}