Skip to content

Commit

Permalink
generate proof for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
DougAnderson444 committed Feb 13, 2024
1 parent e3ed18b commit 5e480a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/delano-wit-ui/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ impl State {
pub(crate) fn publish_proof(self) -> Self {
println!("Publishing proof");
// TODO: Handle failures better
let Some(Loaded::Proof(ref provables)) = self.proof else {
let Ok(Some(Loaded::Proof(ref provables))) = self.proof() else {
println!("No proof to publish");
return self;
};
Expand Down

0 comments on commit 5e480a7

Please sign in to comment.