Skip to content

Commit

Permalink
refactor(genesis): amend runtime pattern matcher for testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
al3mart committed Feb 18, 2025
1 parent 8716241 commit 6da2eef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ trait RuntimeResolver {
fn runtime(id: &str) -> Runtime {
if [DEVNET_DEV, DEVNET_LOCAL, DEVNET].contains(&id) {
Runtime::Devnet
} else if id.starts_with("test") || id.ends_with("testnet") {
} else if [TESTNET_DEV, TESTNET_LOCAL, TESTNET].contains(&id) {
Runtime::Testnet
} else if id.eq("pop") || id.ends_with("mainnet") {
Runtime::Mainnet
Expand Down

0 comments on commit 6da2eef

Please sign in to comment.