Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
shawntabrizi committed Nov 7, 2021
1 parent 85e972f commit c4746e3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ impl Requester {
// Just book keeping - we are already requesting that chunk:
{
e.get_mut().add_leaf(leaf);
}
},
Entry::Vacant(e) => {
let tx = self.tx.clone();
let metrics = self.metrics.clone();
Expand Down
2 changes: 1 addition & 1 deletion node/network/collator-protocol/src/validator_side/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1462,7 +1462,7 @@ async fn poll_collation_response(
);

CollationFetchResult::Error(COST_WRONG_PARA)
}
},
Ok(CollationFetchingResponse::Collation(receipt, pov)) => {
tracing::debug!(
target: LOG_TARGET,
Expand Down
2 changes: 1 addition & 1 deletion node/network/statement-distribution/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1814,7 +1814,7 @@ fn peer_cant_flood_with_large_statements() {
if p == peer_a && r == COST_APPARENT_FLOOD =>
{
punished = true;
}
},

m => panic!("Unexpected message: {:?}", m),
}
Expand Down
2 changes: 1 addition & 1 deletion runtime/common/src/crowdloan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ use crate::{
};
use frame_support::{
ensure,
pallet_prelude::{Weight, DispatchResult},
pallet_prelude::{DispatchResult, Weight},
storage::{child, ChildTriePrefixIterator},
traits::{
Currency,
Expand Down

0 comments on commit c4746e3

Please sign in to comment.