Skip to content

Commit

Permalink
Remove expect
Browse files Browse the repository at this point in the history
  • Loading branch information
ryardley committed Nov 25, 2024
1 parent 9ed6098 commit c7257c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ciphernode/enclave_node/src/ciphernode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ pub async fn setup_ciphernode(
.await?;

let (_, join_handle, peer_id) =
NetworkRelay::setup_with_peer(bus.clone(), config.peers()).expect("Failed to setup libp2p");
NetworkRelay::setup_with_peer(bus.clone(), config.peers())?;

let nm = format!("CIPHER({})", &address.to_string()[0..5]);
SimpleLogger::attach(&nm, bus.clone());
Expand Down

0 comments on commit c7257c3

Please sign in to comment.