Skip to content

Commit

Permalink
Run rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
cronokirby authored and redshiftzero committed Oct 20, 2023
1 parent 3a422e9 commit f5425f7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions crates/bin/pcli/src/command/ceremony.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,13 @@ impl CeremonyCmd {
}
};
let contribution = if *phase == 1 {
let parent = Phase1RawCeremonyCRS::unchecked_from_protobuf(unparsed_parent)?.assume_valid();
let parent = Phase1RawCeremonyCRS::unchecked_from_protobuf(unparsed_parent)?
.assume_valid();
let contribution = Phase1CeremonyContribution::make(&parent);
contribution.try_into()?
} else {
let parent = Phase2RawCeremonyCRS::unchecked_from_protobuf(unparsed_parent)?.assume_valid();
let parent = Phase2RawCeremonyCRS::unchecked_from_protobuf(unparsed_parent)?
.assume_valid();
let contribution = Phase2CeremonyContribution::make(&parent);
contribution.try_into()?
};
Expand Down

0 comments on commit f5425f7

Please sign in to comment.