clean up minor warnings

This commit is contained in:
Kasey White
2022-12-13 22:16:39 -05:00
committed by KtorZ
parent b6962ba9d3
commit 6635a918b5
3 changed files with 7 additions and 11 deletions

View File

@@ -1540,7 +1540,7 @@ impl<'a> CodeGenerator<'a> {
Type::Tuple { .. } => todo!(),
};
if data_type_key.defined_type == "Bool" {
if constructor.tipo.is_bool() {
arg_stack
.push(Term::Constant(UplcConstant::Bool(constr_name == "True")));
} else {