Skip to content

Commit

Permalink
capitalize Network display
Browse files Browse the repository at this point in the history
  • Loading branch information
oblique committed Dec 6, 2024
1 parent 7aa744d commit e9f0d42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions node/src/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ impl FromStr for Network {
impl fmt::Display for Network {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let s = match self {
Network::Mainnet => "mainnet",
Network::Arabica => "arabica",
Network::Mocha => "mocha",
Network::Mainnet => "Mainnet",
Network::Arabica => "Arabica",
Network::Mocha => "Mocha",
Network::Custom(ref s) => s,
};

Expand Down

0 comments on commit e9f0d42

Please sign in to comment.