Skip to content

Commit

Permalink
Undo changes by @HLXEasy for network names
Browse files Browse the repository at this point in the history
  • Loading branch information
aspect committed Feb 25, 2024
1 parent c89d9db commit e75443f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/src/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ pub enum Network {
impl std::fmt::Display for Network {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
match self {
Network::Mainnet => write!(f, "{}", Network::Mainnet.name()),
Network::Testnet10 => write!(f, "{}", Network::Testnet10.name()),
Network::Testnet11 => write!(f, "{}", Network::Testnet11.name()),
Network::Mainnet => write!(f, "mainnet" ),
Network::Testnet10 => write!(f, "tesntet-10"),
Network::Testnet11 => write!(f, "testnet-11"),
}
}
}
Expand Down

0 comments on commit e75443f

Please sign in to comment.