Skip to content

Commit

Permalink
remove unnecessary convert_proposal
Browse files Browse the repository at this point in the history
  • Loading branch information
ss-es committed Dec 6, 2024
1 parent 3ef6a5b commit 18a6c10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/task-impls/src/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ impl<TYPES: NodeType> NetworkMessageTaskState<TYPES> {
}
GeneralConsensusMessage::HighQc(qc) => HotShotEvent::HighQcRecv(qc, sender),
GeneralConsensusMessage::Proposal2(proposal) => {
HotShotEvent::QuorumProposalRecv(convert_proposal(proposal), sender)
HotShotEvent::QuorumProposalRecv(proposal, sender)
}
GeneralConsensusMessage::Vote2(vote) => HotShotEvent::QuorumVoteRecv(vote),
GeneralConsensusMessage::Proposal2Response(proposal) => {
Expand Down

0 comments on commit 18a6c10

Please sign in to comment.