chore: apply some style suggestions (#7307)

This commit is contained in:
Matthias Seitz
2024-03-24 23:52:33 +01:00
committed by GitHub
parent 7e6d61a66a
commit a31202670b
39 changed files with 184 additions and 182 deletions

View File

@ -590,7 +590,7 @@ impl Discv4Service {
/// Returns the current enr sequence of the local record.
fn enr_seq(&self) -> Option<u64> {
(self.config.enable_eip868).then(|| self.local_eip_868_enr.seq())
self.config.enable_eip868.then(|| self.local_eip_868_enr.seq())
}
/// Sets the [Interval] used for periodically looking up targets over the network