Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
cargo-fmt + doc fix
  • Loading branch information
altonen committed Nov 21, 2022
commit 6111eadbc56e4a7ad50d66719765965970943769
2 changes: 1 addition & 1 deletion client/network/common/src/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ pub enum OnBlockJustification<Block: BlockT> {
},
}

/// Result of [`ChainSync::on_state_data`].
/// Result of `ChainSync::on_state_data`.
#[derive(Debug)]
pub enum OnStateData<Block: BlockT> {
/// The block and state that should be imported.
Expand Down
4 changes: 1 addition & 3 deletions client/network/sync/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2228,9 +2228,7 @@ where
}

fn process_outbound_requests(&mut self) {
for (id, request) in self
.block_requests()
{
for (id, request) in self.block_requests() {
self.send_block_request(id, request);
}

Expand Down