Skip to content

Commit

Permalink
fix people polkadot support
Browse files Browse the repository at this point in the history
  • Loading branch information
paulormart committed Jul 25, 2024
1 parent 38d0a1b commit f7264c0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/runtimes/support.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ impl SupportedRuntime {

pub fn is_people_runtime_available(&self) -> bool {
match &self {
Self::Polkadot => false,
Self::Polkadot => true,
Self::Kusama => true,
Self::Westend => false,
}
Expand Down Expand Up @@ -101,8 +101,7 @@ impl SupportedParasRuntime {
pub fn default_rpc_url(&self) -> String {
let config = CONFIG.clone();
match &self {
Self::PeopleKusama => config.substrate_people_ws_url,
_ => unimplemented!("Chain not supported"),
_ => config.substrate_people_ws_url,
}
}
}
Expand Down

0 comments on commit f7264c0

Please sign in to comment.