Skip to content

Commit

Permalink
pass DhtNoPerisistane to Libp2pNetwork::from_config
Browse files Browse the repository at this point in the history
  • Loading branch information
tbro committed Jan 10, 2025
1 parent b7ad1f9 commit 1695531
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sequencer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ use std::sync::Arc;
use tokio::select;
// Should move `STAKE_TABLE_CAPACITY` in the sequencer repo when we have variate stake table support
use libp2p::Multiaddr;
use libp2p_networking::network::behaviours::dht::store::persistent::DhtNoPersistence;
use network::libp2p::split_off_peer_id;
use options::Identity;
use state_signature::static_stake_table_commitment;
Expand Down Expand Up @@ -489,6 +490,7 @@ pub async fn init_node<P: SequencerPersistence, V: Versions>(
let network = {
let p2p_network = Libp2pNetwork::from_config(
network_config.clone(),
DhtNoPersistence,
Arc::new(async_lock::RwLock::new(membership.clone())),
gossip_config,
request_response_config,
Expand Down

0 comments on commit 1695531

Please sign in to comment.