Skip to content

Commit

Permalink
feat: add default grpc for localnet (#4937)
Browse files Browse the repository at this point in the history
Description
---
Add a default gprc address for localnet network

How Has This Been Tested?
---
Manual
  • Loading branch information
SWvheerden committed Nov 21, 2022
1 parent 93e0ffc commit 1e2d227
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/src/configuration/bootstrap.rs
Expand Up @@ -107,6 +107,7 @@ pub fn grpc_default_port(app_type: ApplicationType, network: Network) -> u16 {
Network::Dibbler => 18122,
Network::Esmeralda => 18142,
Network::Igor => 18152,
Network::LocalNet => 18162,
_ => unreachable!("Network {} not supported", network),
},
ApplicationType::ConsoleWallet => match network {
Expand All @@ -115,6 +116,7 @@ pub fn grpc_default_port(app_type: ApplicationType, network: Network) -> u16 {
Network::Dibbler => 18123,
Network::Esmeralda => 18143,
Network::Igor => 18153,
Network::LocalNet => 18163,
_ => unreachable!("Network {} not supported", network),
},
_ => unreachable!("Application {} not supported", app_type),
Expand Down

0 comments on commit 1e2d227

Please sign in to comment.