/// Legacy version of `VerifiedScript`. Will be removed soon, please use `VerifiedScript` instead.
Legacy version of `VerifiedScript`. Will be removed soon, please use `VerifiedScript` instead.
Legacy version of ` VerifiedScript ` . Will be removed soon please use ` VerifiedScript ` instead .
pub fn verify_script(script: CompiledScript) -> (CompiledScript, Vec<VerificationError>) {
    match VerifiedScript::new(script) {
        Ok(script) => (script.into_inner(), vec![]),
        Err((script, errors)) => (script, errors),
    }
}
pub fn verify_script ( script : CompiledScript ) -> ( CompiledScript , Vec < VerificationError > ) { match VerifiedScript :: new ( script ) { Ok ( script ) => ( script . into_inner ( ) , vec ! [ ] ) , Err ( ( script , errors ) ) => ( script , errors ) , } }
Legacy version of `VerifiedScript`.
Legacy version of ` VerifiedScript ` .
script
CompiledScript