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 {
|
} else {
|
||||||
tracing::trace!("Diffusion flush timer expired but no txs to diffuse");
|
tracing::trace!("Diffusion flush timer expired but no txs to diffuse");
|
||||||
// poll next_flush now to register the waker with it.
|
// 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)]
|
#[expect(clippy::let_underscore_must_use)]
|
||||||
let _ = this.next_flush.poll(cx);
|
let _ = this.next_flush.poll(cx);
|
||||||
Poll::Pending
|
Poll::Pending
|
||||||
|
|
|
@ -193,7 +193,10 @@ impl<N: NetworkZone> PeerSyncSvc<N> {
|
||||||
tracing::debug!(
|
tracing::debug!(
|
||||||
"Updating sync watcher channel with new highest seen cumulative difficulty: {new_cumulative_difficulty}"
|
"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 {
|
let _ = self.new_height_watcher.send(NewSyncInfo {
|
||||||
top_hash: core_sync_data.top_id,
|
top_hash: core_sync_data.top_id,
|
||||||
chain_height: core_sync_data.current_height,
|
chain_height: core_sync_data.current_height,
|
||||||
|
|
Loading…
Reference in a new issue