fn collect_pending_finality_signatures(&mut self, block_hash: &BlockHash) -> Vec<Signature> {
        self.pending_finality_signatures
            .collect_pending(block_hash)
            .into_iter()
            .filter(|sig| {
                let FinalitySignature {
                    block_hash,
                    public_key,
                    ..
                } = sig.to_inner();
                !self.signature_cache.known_signature(block_hash, public_key)
            })
            .collect_vec()
    }
/// Returns finality signatures for `block_hash`.
Returns finality signatures for `block_hash`.
Returns finality signatures for ` block_hash ` .
fn collect_pending_finality_signatures(&mut self, block_hash: &BlockHash) -> Vec<Signature> {
        self.pending_finality_signatures
            .collect_pending(block_hash)
            .into_iter()
            .filter(|sig| {
                let FinalitySignature {
                    block_hash,
                    public_key,
                    ..
                } = sig.to_inner();
                !self.signature_cache.known_signature(block_hash, public_key)
            })
            .collect_vec()
    }
fn collect_pending_finality_signatures ( & mut self , block_hash : & BlockHash ) -> Vec < Signature > { self . pending_finality_signatures . collect_pending ( block_hash ) . into_iter ( ) . filter ( | sig | { let FinalitySignature { block_hash , public_key , .. } = sig . to_inner ( ) ; ! self . signature_cache . known_signature ( block_hash , public_key ) } ) . collect_vec ( ) }
Returns finality signatures for `block_hash`.
Returns finality signatures for ` block_hash ` .
&mut self
block_hash
&BlockHash
&mut self
block_hash
&BlockHash