distinguish between multi vs single validator case in blueprint schema generation.
This commit is contained in:
parent
22880a300f
commit
61113cd7b9
|
@ -107,9 +107,12 @@ impl Validator<Reference, Annotated<Schema>> {
|
|||
module.code.clone(),
|
||||
),
|
||||
})
|
||||
.map(|schema| Argument {
|
||||
title: Some(redeemer.arg_name.get_label()),
|
||||
schema,
|
||||
.map(|schema| match datum {
|
||||
Some(..) if def.other_fun.is_some() => todo!(),
|
||||
_ => Argument {
|
||||
title: Some(redeemer.arg_name.get_label()),
|
||||
schema,
|
||||
},
|
||||
})?,
|
||||
program: generator.generate(def).try_into().unwrap(),
|
||||
definitions,
|
||||
|
|
Loading…
Reference in New Issue