From 0c9ea196be8f6298b01266b0480434e6466f754c Mon Sep 17 00:00:00 2001 From: KtorZ Date: Sun, 25 Aug 2024 16:20:38 +0200 Subject: [PATCH] Format uplc crate --- crates/uplc/src/tx.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/uplc/src/tx.rs b/crates/uplc/src/tx.rs index 925440f2..6523a8d4 100644 --- a/crates/uplc/src/tx.rs +++ b/crates/uplc/src/tx.rs @@ -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,