Skip to content

Commit

Permalink
fixed clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
CluEleSsUK committed Aug 31, 2023
1 parent dc67379 commit 6bf0251
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/verify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ fn chained_beacon_message(beacon: &Beacon) -> Result<Vec<u8>, 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())
Expand Down

0 comments on commit 6bf0251

Please sign in to comment.