Skip to content

Commit

Permalink
Format uplc crate
Browse files Browse the repository at this point in the history
  • Loading branch information
KtorZ committed Aug 25, 2024
1 parent e9edd20 commit 0c9ea19
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/uplc/src/tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ pub fn eval_phase_two_raw(
.or_else(|_| MultiEraTx::decode_for_era(Era::Babbage, tx_bytes))
.or_else(|_| MultiEraTx::decode_for_era(Era::Alonzo, tx_bytes))?;

let cost_mdls = cost_mdls_bytes.map(|x| CostMdls::decode_fragment(x)).transpose()?;
let cost_mdls = cost_mdls_bytes
.map(|x| CostMdls::decode_fragment(x))
.transpose()?;

let budget = ExBudget {
cpu: initial_budget.0 as i64,
Expand Down

0 comments on commit 0c9ea19

Please sign in to comment.