Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Cifko committed Jan 8, 2024
1 parent 29d4c5c commit ea09eba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dan_layer/consensus/src/block_validations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ pub fn check_signature(candidate_block: &Block) -> Result<(), ProposalValidation

pub async fn check_quorum_certificate<TConsensusSpec: ConsensusSpec>(
candidate_block: &Block,
vote_signing_service: &TConsensusSpec::VoteSignatureService,
vote_signing_service: &TConsensusSpec::SignatureService,
epoch_manager: &TConsensusSpec::EpochManager,
) -> Result<(), HotStuffError> {
if candidate_block.justify().epoch().as_u64() == 0 {
Expand Down
4 changes: 2 additions & 2 deletions dan_layer/consensus/src/hotstuff/on_inbound_message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pub struct OnInboundMessage<TConsensusSpec: ConsensusSpec> {
epoch_manager: TConsensusSpec::EpochManager,
leader_strategy: TConsensusSpec::LeaderStrategy,
pacemaker: PaceMakerHandle,
vote_signing_service: TConsensusSpec::VoteSignatureService,
vote_signing_service: TConsensusSpec::SignatureService,
rx_hotstuff_message: mpsc::Receiver<(TConsensusSpec::Addr, HotstuffMessage)>,
tx_outbound_message: mpsc::Sender<(TConsensusSpec::Addr, HotstuffMessage)>,
tx_msg_ready: mpsc::UnboundedSender<(TConsensusSpec::Addr, HotstuffMessage)>,
Expand All @@ -51,7 +51,7 @@ where TConsensusSpec: ConsensusSpec
epoch_manager: TConsensusSpec::EpochManager,
leader_strategy: TConsensusSpec::LeaderStrategy,
pacemaker: PaceMakerHandle,
vote_signing_service: TConsensusSpec::VoteSignatureService,
vote_signing_service: TConsensusSpec::SignatureService,
rx_hotstuff_message: mpsc::Receiver<(TConsensusSpec::Addr, HotstuffMessage)>,
tx_outbound_message: mpsc::Sender<(TConsensusSpec::Addr, HotstuffMessage)>,
rx_new_transactions: mpsc::Receiver<TransactionId>,
Expand Down

0 comments on commit ea09eba

Please sign in to comment.