diff --git a/crates/uplc/src/builder.rs b/crates/uplc/src/builder.rs index 0147a294..5b354c0e 100644 --- a/crates/uplc/src/builder.rs +++ b/crates/uplc/src/builder.rs @@ -600,17 +600,11 @@ impl Term { .apply(Term::fst_pair().apply(Term::Var(pair.clone()))) .if_then_else( otherwise.clone(), - Term::less_than_integer() - .apply(Term::fst_pair().apply(Term::Var(pair.clone()))) - .apply(Term::integer(0.into())) - .if_then_else( - otherwise.clone(), - callback( - Term::equals_integer() - .apply(Term::integer(1.into())) - .apply(Term::fst_pair().apply(Term::Var(pair))), - ), - ), + callback( + Term::equals_integer() + .apply(Term::integer(1.into())) + .apply(Term::fst_pair().apply(Term::Var(pair))), + ), ), otherwise.clone(), )