Fix generation of fallback validator
This must only happen in case all other validator succeed; otherwise we might generate invalid validators.
This commit is contained in:
@@ -49,6 +49,8 @@ pub const SCRIPT_PURPOSE_CONSTRUCTORS: &[&str] = &[
|
||||
SCRIPT_PURPOSE_PROPOSE,
|
||||
];
|
||||
|
||||
pub const VALIDATOR_ELSE: &str = "else";
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// Types
|
||||
|
||||
|
||||
Reference in New Issue
Block a user