mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 12:51:02 +00:00
Select native runtime based on chain spec (#733)
* Select native runtime based on chain spec * Bumped substrate
This commit is contained in:
committed by
Bastian Köcher
parent
d945280142
commit
0d055c9640
@@ -158,9 +158,9 @@ pub trait IsKusama {
|
||||
fn is_kusama(&self) -> bool;
|
||||
}
|
||||
|
||||
impl IsKusama for Configuration {
|
||||
impl IsKusama for ChainSpec {
|
||||
fn is_kusama(&self) -> bool {
|
||||
self.chain_spec.name().starts_with("Kusama")
|
||||
self.name().starts_with("Kusama")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user