From 6bf025199fdf5109710a8ba741304c1cbd6f49a8 Mon Sep 17 00:00:00 2001 From: Patrick McClurg Date: Thu, 31 Aug 2023 19:32:00 +0200 Subject: [PATCH] fixed clippy warnings --- src/verify.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/verify.rs b/src/verify.rs index 4c236cb..11ab3fd 100644 --- a/src/verify.rs +++ b/src/verify.rs @@ -125,7 +125,7 @@ fn chained_beacon_message(beacon: &Beacon) -> Result, VerificationError> .previous_signature .clone() .into_iter() - .chain(beacon.round_number.to_be_bytes().into_iter()) + .chain(beacon.round_number.to_be_bytes()) .collect(); Ok(Sha256::digest(message.as_slice()).to_vec())