Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshy Orndorff committed Oct 11, 2023
1 parent 78e08aa commit b2820ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tuxedo-core/src/inherents.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ impl<V: Verifier, C: ConstraintChecker<V>, T: TuxedoInherent<V, C> + 'static> In
}

let previous_inherent = previous_inherents.get(0).cloned();

vec![<T as TuxedoInherent<V, C>>::create_inherent(
authoring_inherent_data,
previous_inherent,
Expand Down
4 changes: 1 addition & 3 deletions wardrobe/timestamp/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,9 +337,7 @@ impl<V: Verifier + From<UpForGrabs>, T: TimestampConfig + 'static> TuxedoInheren
let on_chain_timestamp = inherent
.outputs
.iter()
.find_map(|output| {
output.payload.extract::<BestTimestamp>().ok().map(|o| o.0)
})
.find_map(|output| output.payload.extract::<BestTimestamp>().ok().map(|o| o.0))
.expect(
"SetTimestamp extrinsic should have an output that decodes as a StorableTimestamp.",
);
Expand Down

0 comments on commit b2820ea

Please sign in to comment.