pub(crate) fn add(&mut self, signed_vote: &SignedVote, vote_weight: u64) -> BftResult<()> {
        let vote = &signed_vote.vote;
        let vote_type = &vote.vote_type;
        self.step_votes
            .entry(vote_type.clone())
            .or_insert_with(VoteSet::new)
            .add(signed_vote, vote_weight)
    }
/// A function to add a vote to the step collector.
A function to add a vote to the step collector.
A function to add a vote to the step collector .
pub(crate) fn add(&mut self, signed_vote: &SignedVote, vote_weight: u64) -> BftResult<()> {
        let vote = &signed_vote.vote;
        let vote_type = &vote.vote_type;
        self.step_votes
            .entry(vote_type.clone())
            .or_insert_with(VoteSet::new)
            .add(signed_vote, vote_weight)
    }
pub ( crate ) fn add ( & mut self , signed_vote : & SignedVote , vote_weight : u64 ) -> BftResult < ( ) > { let vote = & signed_vote . vote ; let vote_type = & vote . vote_type ; self . step_votes . entry ( vote_type . clone ( ) ) . or_insert_with ( VoteSet :: new ) . add ( signed_vote , vote_weight ) }
A function to add a vote to the step collector.
A function to add a vote to the step collector .
&mut self
signed_vote
&SignedVote
vote_weight
u64
&mut self
signed_vote
&SignedVote
vote_weight
u64