review fixes

This commit is contained in:
hinto.janai 2024-09-20 16:19:50 -04:00
parent b44391b5ef
commit b001304492
No known key found for this signature in database
GPG key ID: D47CE05FA175A499
2 changed files with 5 additions and 2 deletions

View file

@ -337,7 +337,7 @@ impl<N: NetworkZone> Stream for BroadcastMessageStream<N> {
} else {
tracing::trace!("Diffusion flush timer expired but no txs to diffuse");
// poll next_flush now to register the waker with it.
// the waker will already be registered with the block broadcast channel."
// the waker will already be registered with the block broadcast channel.
#[expect(clippy::let_underscore_must_use)]
let _ = this.next_flush.poll(cx);
Poll::Pending

View file

@ -193,7 +193,10 @@ impl<N: NetworkZone> PeerSyncSvc<N> {
tracing::debug!(
"Updating sync watcher channel with new highest seen cumulative difficulty: {new_cumulative_difficulty}"
);
#[expect(clippy::let_underscore_must_use, reason = "TODO")]
#[expect(
clippy::let_underscore_must_use,
reason = "dropped receivers can be ignored"
)]
let _ = self.new_height_watcher.send(NewSyncInfo {
top_hash: core_sync_data.top_id,
chain_height: core_sync_data.current_height,