Skip to content

Commit

Permalink
un-feature-gate testing flag
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-maron committed Mar 26, 2024
1 parent 1fd42ac commit 959c79f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion crates/examples/infra/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,6 @@ async fn libp2p_network_from_config<TYPES: NodeType>(
// NOTE: this introduces an invariant that the keys are assigned using this indexed
// function
all_keys,
#[cfg(feature = "hotshot-testing")]
None,
da_keys.clone(),
da_keys.contains(&pub_key),
Expand Down
2 changes: 1 addition & 1 deletion crates/hotshot/src/traits/networking/libp2p_network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ impl<M: NetworkMsg, K: SignatureKey + 'static> Libp2pNetwork<M, K> {
id: usize,
// HACK
committee_pks: BTreeSet<K>,
#[cfg(feature = "hotshot-testing")] reliability_config: Option<Box<dyn NetworkReliability>>,
reliability_config: Option<Box<dyn NetworkReliability>>,
da_pks: BTreeSet<K>,
is_da: bool,
) -> Result<Libp2pNetwork<M, K>, NetworkError> {
Expand Down

0 comments on commit 959c79f

Please sign in to comment.