chore: make clippy happy (#13561)

This commit is contained in:
Federico Gimenez
2024-12-27 10:38:41 +01:00
committed by GitHub
parent 56ce046317
commit df294e424b
17 changed files with 38 additions and 72 deletions

View File

@ -526,10 +526,7 @@ mod tests {
// validate the header total difficulty
td += header.difficulty;
assert_eq!(
provider.header_td_by_number(block_num)?.map(Into::into),
Some(td)
);
assert_eq!(provider.header_td_by_number(block_num)?, Some(td));
}
}
_ => self.check_no_header_entry_above(initial_checkpoint)?,