Skip to content

Commit

Permalink
Accept "test" as testnet name
Browse files Browse the repository at this point in the history
  • Loading branch information
Jouzo committed Sep 23, 2024
1 parent 1c59be3 commit 0e044a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ain-ocean/src/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ impl std::str::FromStr for Network {
match s {
"mainnet" | "main" => Ok(Self::Mainnet),
"mocknet" => Ok(Self::Mocknet),
"testnet" => Ok(Self::Testnet),
"testnet" | "test" => Ok(Self::Testnet),
"regtest" => Ok(Self::Regtest),
"devnet" => Ok(Self::Devnet),
"changi" => Ok(Self::Changi),
Expand Down

0 comments on commit 0e044a2

Please sign in to comment.