Skip to content

Commit

Permalink
fix simple-server
Browse files Browse the repository at this point in the history
  • Loading branch information
imabdulbasit committed Jan 8, 2025
1 parent 7e65a95 commit c2837ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/simple-server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
//! consensus network with two nodes and connects a query service to each node. It runs each query
//! server on local host. The program continues until it is manually killed.
use async_lock::RwLock;
use clap::Parser;
use futures::future::{join_all, try_join_all};
use hotshot::{
Expand Down Expand Up @@ -240,7 +241,7 @@ async fn init_consensus(
priv_key,
node_id as u64,
config,
membership,
Arc::new(RwLock::new(membership)),
network,
HotShotInitializer::from_genesis::<MockVersions>(TestInstanceState::default())
.await
Expand Down

0 comments on commit c2837ea

Please sign in to comment.