Skip to content

Commit

Permalink
Update examples/low-level-api/private_tangle.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Craig Bester <[email protected]>
  • Loading branch information
PhilippGackstatter and cycraig authored Aug 23, 2021
1 parent 6308793 commit 9024ac8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/low-level-api/private_tangle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ use identity::prelude::*;
#[tokio::main]
pub async fn main() -> Result<()> {
// This is an arbitrarily defined network name
let network_name = "atoi";

// Unwrap is fine since we provided a non-empty string.
let network_name = "custom";
let network = Network::from_name(network_name)?;

// Set the network and the URL that points to
Expand Down

0 comments on commit 9024ac8

Please sign in to comment.