Skip to content

Commit

Permalink
fix(tests): update type
Browse files Browse the repository at this point in the history
  • Loading branch information
therealdannzor committed Jul 29, 2024
1 parent 310c487 commit 423fee0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions dan_layer/consensus_tests/src/support/validator/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,7 @@ use crate::support::{
messaging_impls::{TestInboundMessaging, TestOutboundMessaging},
signing_service::TestVoteSignatureService,
sync::AlwaysSyncedSyncManager,
RoundRobinLeaderStrategy,
TestBlockTransactionProcessor,
TestConsensusSpec,
Validator,
ValidatorChannels,
RoundRobinLeaderStrategy, TestBlockTransactionProcessor, TestConsensusSpec, Validator, ValidatorChannels,
};

pub struct ValidatorBuilder {
Expand Down Expand Up @@ -133,7 +129,7 @@ impl ValidatorBuilder {
HotstuffConfig {
max_base_layer_blocks_ahead: 5,
max_base_layer_blocks_behind: 5,
pacemaker_max_base_time: 10,
pacemaker_max_base_time: std::time::Duration(10),
},
);

Expand Down

0 comments on commit 423fee0

Please sign in to comment.