From a4bb3a54c0faccf14b90dfa53072f48f9f4f330a Mon Sep 17 00:00:00 2001 From: Dr Maxim Orlovsky Date: Thu, 18 Apr 2024 14:19:08 +0200 Subject: [PATCH] chore: fix clippy lints --- src/validation/validator.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/validation/validator.rs b/src/validation/validator.rs index 373b5698..046d276f 100644 --- a/src/validation/validator.rs +++ b/src/validation/validator.rs @@ -418,7 +418,7 @@ impl<'consignment, 'resolver, C: ConsignmentApi, R: ResolveWitness> for seal in seals.iter().filter(|seal| seal.method() != close_method) { self.status .borrow_mut() - .add_failure(Failure::SealInvalidMethod(bundle_id, seal.clone())); + .add_failure(Failure::SealInvalidMethod(bundle_id, *seal)); } match (close_method, anchor.clone()) { (