From 7bf22fa58bd9145eb531f5ef75d3108bb4583bfd Mon Sep 17 00:00:00 2001 From: microproofs Date: Mon, 31 Jul 2023 15:00:49 -0400 Subject: [PATCH] fix multivalidator issue --- crates/aiken-lang/src/gen_uplc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/aiken-lang/src/gen_uplc.rs b/crates/aiken-lang/src/gen_uplc.rs index 1b065227..f9b7d469 100644 --- a/crates/aiken-lang/src/gen_uplc.rs +++ b/crates/aiken-lang/src/gen_uplc.rs @@ -135,7 +135,7 @@ impl<'a> CodeGenerator<'a> { air_tree_fun_other = wrap_validator_condition(air_tree_fun_other); let mut validator_args_tree_other = - self.check_validator_args(&fun.arguments, true, air_tree_fun_other); + self.check_validator_args(&other.arguments, true, air_tree_fun_other); validator_args_tree_other = AirTree::no_op().hoist_over(validator_args_tree_other);