@@ -147,15 +147,6 @@ where
147147 Verdict :: Success
148148 }
149149
150- pub fn verify_implicit ( & self , untrusted : & UntrustedBlockState < ' _ > ) -> Verdict {
151- verdict ! ( self . predicates. implicit_hash_match(
152- untrusted. implicit_hash,
153- untrusted. signed_header. header. implicit_hash,
154- ) ) ;
155-
156- Verdict :: Success
157- }
158-
159150 /// Validate an `UntrustedBlockState` coming from a client update,
160151 /// based on the given `TrustedBlockState`, `Options` and current time.
161152 pub fn validate_against_trusted (
@@ -309,7 +300,6 @@ where
309300 now : Time ,
310301 ) -> Verdict {
311302 ensure_verdict_success ! ( self . verify_validator_sets( & untrusted) ) ;
312- ensure_verdict_success ! ( self . verify_implicit( & untrusted) ) ;
313303 ensure_verdict_success ! ( self . validate_against_trusted( & untrusted, & trusted, options, now) ) ;
314304 ensure_verdict_success ! ( self . check_header_is_from_past( & untrusted, options, now) ) ;
315305 ensure_verdict_success ! ( self . verify_commit_against_trusted( & untrusted, & trusted, options) ) ;
@@ -328,7 +318,6 @@ where
328318 now : Time ,
329319 ) -> Verdict {
330320 ensure_verdict_success ! ( self . verify_validator_sets( & untrusted) ) ;
331- ensure_verdict_success ! ( self . verify_implicit( & untrusted) ) ;
332321 ensure_verdict_success ! ( self . validate_against_trusted( & untrusted, & trusted, options, now) ) ;
333322 ensure_verdict_success ! ( self . verify_commit_against_trusted( & untrusted, & trusted, options) ) ;
334323 Verdict :: Success
0 commit comments