Skip to content

Commit

Permalink
fix: unwrap_or onchain/interface/src/instructions.rs
Browse files Browse the repository at this point in the history
Co-authored-by: austbot <[email protected]>
  • Loading branch information
jac18281828 and austbot committed Nov 5, 2024
1 parent edc0e1f commit 09ca041
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions onchain/interface/src/instructions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,7 @@ pub fn execute_v1_with_accounts<'a>(
None
};

let prover_version = prover_version.or(Some(ProverVersion::default()));
let prover_version = prover_version.unwrap();
let prover_version = prover_version.unwrap_or(ProverVersion::default());

let fbb_execute = ExecutionRequestV1::create(
&mut fbb,
Expand Down

0 comments on commit 09ca041

Please sign in to comment.