Fix init-bridge (#1900)

This commit is contained in:
Serban Iorga
2023-02-23 08:17:07 +02:00
committed by Bastian Köcher
parent 26330d9a25
commit e7debc4b09
4 changed files with 12 additions and 11 deletions
@@ -135,7 +135,7 @@ pub fn decode_justification_target<Header: HeaderT>(
}
/// Verify and optimize given justification by removing unknown and duplicate votes.
pub fn optimize_justification<Header: HeaderT>(
pub fn verify_and_optimize_justification<Header: HeaderT>(
finalized_target: (Header::Hash, Header::Number),
authorities_set_id: SetId,
authorities_set: &VoterSet<AuthorityId>,