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())