clippy happy

This commit is contained in:
Giacomo Pasini 2024-03-14 18:07:13 +01:00
parent e2fe720fc9
commit ca4f8f8ce3
No known key found for this signature in database
GPG Key ID: FC08489D2D895D4B
1 changed files with 4 additions and 3 deletions

View File

@ -56,9 +56,10 @@ impl Cryptarchia {
parent,
header.slot(),
header.leader_proof(),
header.orphaned_proofs().into_iter().map(|imported_header| {
(imported_header.id(), imported_header.leader_proof().clone())
}),
header
.orphaned_proofs()
.iter()
.map(|imported_header| (imported_header.id(), *imported_header.leader_proof())),
)?;
let consensus = self.consensus.receive_block(id, parent, slot)?;