Skip to content

Commit

Permalink
Add unknown network ID message
Browse files Browse the repository at this point in the history
  • Loading branch information
howardwu committed May 16, 2024
1 parent 86d1f2c commit 0b89605
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/src/commands/developer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ impl Developer {
let network = match N::ID {
snarkvm::console::network::MainnetV0::ID => "mainnet",
snarkvm::console::network::TestnetV0::ID => "testnet",
_ => "mainnet",
unknown_id => bail!("Unknown network ID ({unknown_id})"),
};

// Send a request to the query node.
Expand Down Expand Up @@ -147,7 +147,7 @@ impl Developer {
let network = match N::ID {
snarkvm::console::network::MainnetV0::ID => "mainnet",
snarkvm::console::network::TestnetV0::ID => "testnet",
_ => "mainnet",
unknown_id => bail!("Unknown network ID ({unknown_id})"),
};

// Send a request to the query node.
Expand Down

0 comments on commit 0b89605

Please sign in to comment.