Skip to content

Commit

Permalink
Run rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
cronokirby committed Oct 19, 2023
1 parent 4699a56 commit 8d25b8e
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 8d25b8e

Please sign in to comment.