Skip to content

Commit

Permalink
Update examples/account/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 60300a3 commit 6308793
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/account/private_tangle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ async fn main() -> Result<()> {
pretty_env_logger::init();

// 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)?;

// Create a new Account with the default configuration
Expand Down

0 comments on commit 6308793

Please sign in to comment.