mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: make clippy happy (#13561)
This commit is contained in:
@ -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)?,
|
||||
|
||||
Reference in New Issue
Block a user