pub(crate) fn extract_polc(&self, block_hash: &Hash) -> Vec<SignedVote> {
        // abstract the votes for the polc proposal into a vec
        let mut polc = Vec::new();
        for signed_vote in self.votes_by_sender.values() {
            let hash = &signed_vote.vote.block_hash;
            if hash == block_hash {
                polc.push(signed_vote.to_owned());
            }
        }
        polc
    }
/// A function to abstract the PoLC of the round.
A function to abstract the PoLC of the round.
A function to abstract the PoLC of the round .
pub(crate) fn extract_polc(&self, block_hash: &Hash) -> Vec<SignedVote> {
        // abstract the votes for the polc proposal into a vec
        let mut polc = Vec::new();
        for signed_vote in self.votes_by_sender.values() {
            let hash = &signed_vote.vote.block_hash;
            if hash == block_hash {
                polc.push(signed_vote.to_owned());
            }
        }
        polc
    }
pub ( crate ) fn extract_polc ( & self , block_hash : & Hash ) -> Vec < SignedVote > { // abstract the votes for the polc proposal into a vec let mut polc = Vec :: new ( ) ; for signed_vote in self . votes_by_sender . values ( ) { let hash = & signed_vote . vote . block_hash ; if hash == block_hash { polc . push ( signed_vote . to_owned ( ) ) ; } } polc }
A function to abstract the PoLC of the round.
A function to abstract the PoLC of the round .
&self
block_hash
&Hash
&self
block_hash
&Hash