mirror of
https://github.com/hinto-janai/cuprate.git
synced 2025-01-09 20:39:55 +00:00
review fixes
This commit is contained in:
parent
b44391b5ef
commit
b001304492
2 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue