From e75443f6b20e0c16aa6c13f0f60f0dd27064dcdd Mon Sep 17 00:00:00 2001 From: Anton Yemelyanov Date: Sun, 25 Feb 2024 17:44:08 +0200 Subject: [PATCH] Undo changes by @hlxeasy for network names --- core/src/network.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/network.rs b/core/src/network.rs index bcb41ca..dcbbabf 100644 --- a/core/src/network.rs +++ b/core/src/network.rs @@ -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"), } } }